Top 10 items view

we wanted to review top 10 item out of 1M items
i can apply for filter accordingly
example... how we should bring on ranking column while using beast mode
Comments
-
You can utilize the RANK window function in a beast mode. Something like:
RANK() over (PARTITION BY `List` ORDER BY SUM(`All Total`))
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0 -
there is no column for 'All Total' column
we should consider Grand Total (Column) how we should bring top 3 items only
0 -
example here you go...
0 -
0
-
Region / Q1 / Q2 / Q3 / Q4 / Amount Total (column)
Applied beast mode as below function but doesn't work for me.. not sure how to apply ranking 'Amount Total' side. (this column doesn't appear in datatable)
RANK() OVER (PARTITION BY `Region` ORDER BY SUM(`Amount`) desc) <=10 then 'include' else 'exclude'
0 -
the result give individual Gross grand total(column) level for each Qtr and add up ranking as Net grand total.. Not sure how we can decide the ranking as grand total level top 10 items.
result should be 69,692 - rank 1
25,980 - rank 2
20,980 - rank 3
20,314 - rank 4
0
Categories
- 10.5K All Categories
- 8 Connect
- 918 Connectors
- 250 Workbench
- 473 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 478 Datasets
- 209 Visualize
- 257 Beast Mode
- 2.1K Charting
- 12 Variables
- 18 Automate
- 355 APIs & Domo Developer
- 89 Apps
- 3 Workflows
- 20 Predict
- 5 Jupyter Workspaces
- 15 R & Python Tiles
- 247 Distribute
- 63 Domo Everywhere
- 243 Scheduled Reports
- 21 Manage
- 42 Governance & Security
- 183 Product Ideas
- 1.2K Ideas Exchange
- 11 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive