How to change color of bar charts (top 5)
Best Answers
-
Continuing with what @ArborRose is saying, you would create a beastmode something like this:
DENSE_RANK(
Number
) OVER (ORDER BYNumber
)Then, in a color rule you would set the rule using the new beastmode field above and the condition would be less than or equal to 5.
If I solved your problem, please select "yes" above
0 -
@Zel does it need to be in an ETL? You should be able to use a pivot table in analyzer to achieve this and then just use the default sorting arrows. If you do need to do it in ETL you would do a group by first with a count distance values and then a rank.
Here is what the pivot table would look like just using Table 1 in Analyzer.
Here is what ETL should look like.
Output:
**If this answer solved your problem be sure to like it and accept it as a solution!
0 -
Yes, ETL has a rank and window tile.
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0
Answers
-
You can use the rank and window tile to identify the top 5. Then set color rules.
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0 -
Continuing with what @ArborRose is saying, you would create a beastmode something like this:
DENSE_RANK(
Number
) OVER (ORDER BYNumber
)Then, in a color rule you would set the rule using the new beastmode field above and the condition would be less than or equal to 5.
If I solved your problem, please select "yes" above
0 -
Thank you for your inputs. I'd like to ask, is there a way that I could achieve this in ETL?
I have my raw data in Table 1. I want to transform it into something like what I have here in Table 2 thru ETL. I need to have the count of all alarm IDs per store in ETL and rank them accordingly. I tried the above solution but I'm getting 1 for all ranks. lol apologies.
0 -
@Zel does it need to be in an ETL? You should be able to use a pivot table in analyzer to achieve this and then just use the default sorting arrows. If you do need to do it in ETL you would do a group by first with a count distance values and then a rank.
Here is what the pivot table would look like just using Table 1 in Analyzer.
Here is what ETL should look like.
Output:
**If this answer solved your problem be sure to like it and accept it as a solution!
0 -
Yes, ETL has a rank and window tile.
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0
Categories
- All Categories
- Product Ideas
- 2.1K Ideas Exchange
- Connect
- 1.3K Connectors
- 309 Workbench
- 7 Cloud Amplifier
- 10 Federated
- Transform
- 664 Datasets
- 120 SQL DataFlows
- 2.3K Magic ETL
- 825 Beast Mode
- Visualize
- 2.6K Charting
- 88 App Studio
- 46 Variables
- Automate
- 195 Apps
- 486 APIs & Domo Developer
- 94 Workflows
- 24 Code Engine
- AI and Machine Learning
- 23 AI Chat
- 4 AI Projects and Models
- 18 Jupyter Workspaces
- Distribute
- 119 Domo Everywhere
- 283 Scheduled Reports
- 11 Software Integrations
- Manage
- 143 Governance & Security
- 11 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 116 Community Announcements
- 5K Archive