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.6K All Categories
- 1 APAC User Group
- 12 Welcome
- 36 Domo News
- 9.6K Using Domo
- 1.9K Dataflows
- 2.4K Card Building
- 2.2K Ideas Exchange
- 1.2K Connectors
- 339 Workbench
- 252 Domo Best Practices
- 11 Domo Certification
- 461 Domo Developer
- 47 Domo Everywhere
- 100 Apps
- 703 New to Domo
- 84 Dojo
- Domopalooza
- 1.1K 日本支部
- 4 道場-日本支部へようこそ
- 22 お知らせ
- 63 Kowaza
- 296 仲間に相談
- 649 ひらめき共有