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
- 10.5K All Categories
- 6 Connect
- 916 Connectors
- 250 Workbench
- 463 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 476 Datasets
- 189 Visualize
- 252 Beast Mode
- 2.1K Charting
- 11 Variables
- 17 Automate
- 354 APIs & Domo Developer
- 89 Apps
- 3 Workflows
- 20 Predict
- 5 Jupyter Workspaces
- 15 R & Python Tiles
- 246 Distribute
- 62 Domo Everywhere
- 243 Scheduled Reports
- 21 Manage
- 42 Governance & Security
- 172 Product Ideas
- 1.2K Ideas Exchange
- 11 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive