Named Sets
Named sets return a data set based on a defined logic. They are primarily used to create data sets that are often requested from the cube.
There are two types of named sets – static named sets and dynamic named sets.
Static named sets are evaluated once during creation – they are never re-evaluated. Dynamic named sets, on the other hand, are evaluated each time a query references it and is evaluated in a current context. For example, a dynamic set may show the Top 50 customers. This dynamic set could either be displayed over different countries in the world, or within a single country, when using standard cube reporting tools.
When you are working with dynamic named sets in Spotfire, the content of a dynamic named set column depends on the current context, that is, it depends on the current limitations and filtering. Therefore, the axis expression must be evaluated after the current filtering is applied, when dynamic sets are used in visualizations.
This is different from how axes traditionally are evaluated in Spotfire, but the 'evaluate after'-setting is applied automatically when you are placing a dynamic named set column on an axis. See Details on Advanced Settings help section in the Spotfire Analyst User Guide (available under
) for more information about axis evaluation settings.If you limit the selected data to male customers only, and use a set showing Top 50 customers, you will get the top 50 male customers. If limitations make the number of available male customers lower than 50, then this is the number you will end up with. All of these calculations are handled by the cube.