Dynamic Set
Fixed Set
The process to create a dynamic set is as follows:
In the Data pane, right-click on the sub-category dimension and choose Create > Set. (Figure 1)
Figure 1: Creating a Set
• In the Create Set dialog box, set up your set. You can configure it using the following tabs:
1. General: Use the General tab to choose one or multiple values to be considered when computing the set. Alternatively, you can choose the Use All option to consistently consider all members, even when new members are added or removed.
If you know the top-selling products beforehand, you can manually select the products as shown in Figure 2 below.
Figure 2: Creating a Set using General Tab
2. Condition: Utilize the Condition tab to establish criteria that decide which members should be incorporated into the set.
You can specify this condition and create the set if you need products with sales greater than $50,000. (Figure 3)
Figure 3: Creating a Set using Condition Tab
3. Top: Employ the Top tab to set restrictions on which members should be included in the set.
For instance, you can establish a limit based on total sales, where only the top 5 products with the highest sales are included. (Figure 4)
Figure 4: Creating a Set using Top Tab
The process to create a fixed set is as follows:
Figure 5: Selecting the marks.
Figure 6: Creating the set.
Figure 7: Typing the Set Name.
• Top N or Bottom N Analysis: Sets can filter the data to display only the top or bottom N values based on a specific condition. For example, you could create a set to show the top 10 products by profit or even combine sets and display the top N and bottom N products by profit in a single chart. (Figure 8)
Figure 8: Top 3 and Bottom 3 Products by Profit
• Segmentation Analysis: Sets can also segment data into groups based on a specific condition. This can be useful for analysing performance differences between different groups. For example, you could create a set to segment customers based on their geographic location.
• Excluding Data: Sets can be used to exclude specific data points from a visualisation. For example, you could create a set to exclude customers who have not purchased in the last six months.
Set actions allow users to modify the values within a set, on selection of marks within a view. This enables your audience to engage directly with a visualisation or dashboard and control various aspects of their analysis.
To utilise set actions:
1. Create a set that selects a particular category (Figure 9 shows creating a set using the general tab selecting only furniture)
Figure 9: Creating Category Set using General Tab
2. If you are in a worksheet, go to Worksheet > Actions.
If you are in a dashboard, go to Dashboard > Actions.
3. In the Actions dialog box, click “Add Action” and choose “Change Set Values.”
4. In the Add/Edit Set Action dialog box:
• Provide a descriptive name for the action.
• Choose a source sheet or data source. By default, the current sheet is selected. If you opt for a data source or dashboard, you can select specific sheets within it.
• Choose the desired method for users to execute the action:
• To specify the target set:
Figure 10: Setting up set action
• Specify what happens when the action is run in the view:
• When the selection is cleared in the view:
5. After configuring the desired behaviour, click “OK” to save the changes and return to the view.
6. To ensure the set action functions as intended, interact with the visualisation, and test its behaviour.