...
In Dashboard Configuration>Data Connections, create the following objects in the Dashboard Repos connection:
For each object we’re using the COLS.DISPLAY_NAME object and in the WHERE clause, we’ve specified the columns that we want to be available for users to swap between. In the Legend example, we’ve used the values Payment Method, Fraud and Sales Year which all come from our Retail data connection.
In the Retail data connection we then created the following objects, this is an example of the Legend object:
We called this object ‘Swap Legend’ but you can call it whatever you want. The ‘Select’ statement for this object refers back to the object that we created in Dashboard Repos called ‘Legend’.
In Dashboard Configuration>Categories add the objects that you created in Dashboard Repos:
The ticks for ‘Can Select All’ and ‘Filter’ have been removed for all the objects that we want to use in Object Swapping. The only object that users can filter on is the ‘Store Name’
We then build a chart that contains the objects we created in our Retail data connection:
When users select an object in Category Objects, in the following example we’ve chosen an item from the Legend, they will see the columns that you entered in the WHERE clause in Dashboard Repos:
After clicking the ‘Apply’ button, the Legend will swap to show the new selection and the chart will be updated:
As a final step, to make the Axis and Legend labels more meaningful to users, we used Object Replacement in the label fields on the Attributes screen:
Related articles
You might also find these articles useful.
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|