Highlight pie chart slice by filtered selection
Hi All,
I have a Supplier Performance dashboard where users will filter by first selecting one of several Suppliers. Most cards on the page would then filter to show only data for the selected supplier.
I want to have a pie chart that doesn't get filtered as such, rather it would 'highlight' the selected Supplier as below. I know I can exclude it from being filtered, but Ideally I would want it to either be highlighted in some way, or grouped so the pie displays only 'Selected Supplier' and 'All others'.
Any help appreciated.
Best Answers
-
Hello @calebtyrone ,
Instead of applying a filter, you can create a variable that displays the necessary supplier information on all cards. I believe there may be a workaround to highlight only the section from the selected supplier, but further investigation is required. I quickly put this together—it may not meet your exact needs, but it's a starting point. In this Pie chart if the variable selected is Aftermarket, then only the section from the Pie chart of Aftermarket will give a result. Maybe something could be done with an additional color scheme and Beast Mode.
If you found this post helpful, please use 💡/💖/👍/😊 below! If it solved your problem, don't forget to accept the answer.
1 -
Manasi mentions a possible beast mode calculation. You can create a calculated field that will categorize suppliers into selected supplier and all others.
CASE
WHEN Supplier = Selected_Supplier THEN 'Selected Supplier'
ELSE 'All others'
ENDOr us WHEN Supplier in (A, B, C, etc).
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **1
Answers
-
Hello @calebtyrone ,
Instead of applying a filter, you can create a variable that displays the necessary supplier information on all cards. I believe there may be a workaround to highlight only the section from the selected supplier, but further investigation is required. I quickly put this together—it may not meet your exact needs, but it's a starting point. In this Pie chart if the variable selected is Aftermarket, then only the section from the Pie chart of Aftermarket will give a result. Maybe something could be done with an additional color scheme and Beast Mode.
If you found this post helpful, please use 💡/💖/👍/😊 below! If it solved your problem, don't forget to accept the answer.
1 -
Manasi mentions a possible beast mode calculation. You can create a calculated field that will categorize suppliers into selected supplier and all others.
CASE
WHEN Supplier = Selected_Supplier THEN 'Selected Supplier'
ELSE 'All others'
ENDOr us WHEN Supplier in (A, B, C, etc).
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **1 -
Hi Manasi and ArborRose,
I have used both your suggestions and they work for what I was trying to accomplish. Thank you! Some simple colour rules finished it off nicely.
The only negative is that I have to manually add each supplier as value in my variable. It's not a big deal but if new suppliers are added I'll have to remember to add them.
1 -
You could probably use an ETL to join the list and make it dynamic.
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 616 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 738 Beast Mode
- 57 App Studio
- 40 Variables
- 685 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 47 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 124 Manage
- 121 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive