Bar chart- return top 10 rows by year

Hello,
I have a dataset in excel with "year", "viewers", and "market" columns. Is there a way to have the top 10 markets (based on # of viewers) return by year for 3 years. For instance, in the "year" column, we have 2017, 2018, and 2019. Each year has its own bar column. I want the top ten "Markets" based on "viewers" for each year. When I currently try to do this, it ranks the markets for all 3 years and returns the top 30 in total but I need the top 10 of each year independantly.
Thanks!
Comments
-
is this what you are aftering?
0 -
hmm.... I just realized think it is a lil buggy. Unfortunately, the max number of bars doesn't seem to apply. So if you have more than 10 markets, all the market will appear in the chart if the setup is done as shown in the screenshot. I'll play around a lil bit more to see if can cap it @ 10.
0 -
Try this to cap to 10. Create the rank and then apply the filter in the dasboard.
https://knowledge.domo.com/Prepare/Magic_Transforms/ETL_DataFlows/03ETL_Actions%3A_Rank_and_Window
0
Categories
- All Categories
- Product Ideas
- 2.1K Ideas Exchange
- Data Connections
- 1.3K Connectors
- 309 Workbench
- 17 Cloud Integrations
- Data & ETL
- 2.3K Magic ETL
- 120 SQL DataFlows
- 667 Datasets
- Visualize & Apps
- 90 App Studio
- 198 Pro-code Components
- 2.6K Charting & Analyzer
- 873 Calculations & Variables (Beast Mode)
- AI & Data science
- 23 Domo AI & AI Chat
- 4 Managing AI
- 18 Jupyter Workspaces
- Automate
- 122 Workflows
- Alerts
- Distribute
- 118 Domo Everywhere
- 284 Reporting
- Manage
- 146 Governance & Security
- 489 APIs
- 11 Add-ins & Plugins
- 13 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 118 Community Announcements
- 5K Archive