Column Totals
Hello,
I am building a "top 20" card, showing the top 20 past due customers. Separately I have a total past due that looks at the entire portfolio. What I would like to do is to display the total of the top 20 comparing it to the total past due….
Example, the total past due 1-30 days late is $5,100.000. The total of the top 20 customers is $4,500,000.
At the top of the page I show the total 1-30 and total outstandings, which is a sum of all of the rows by column. What I want to also show is the top 20 1-30 total. Below these summary fields I have the table showing the 20 rows of the top 20. How do I get the summarized top 20 amount showing? I cant get it filtered to just the total of the top 20.
Best Answers
-
The above solution works great, as long as your card/dashboard is not meant to be responsive to user filters and you have clearly defined partitions over which the rank function should be applied. If your top 20 is meant to be responsive at the view level, I usually show a Horizontal Bar char and limit the number of bars to show sorting on totals, this way not only you give visibility into the top total, but also who they are. (but this uses a lot more real-state than a single number card).
0
Answers
-
@MichelleH @Rick , yes the rank and window would allow for a top 20 ranking then you could filter on your card with a case statement beastmode.
CASE when 'rank and window column name' < = 20 THEN 'Top 20' ELSE 'Not Top 20' END.
So you'd filter by selecting 'Top 20' customer category to get the data you need showing.
IF I SOLVED YOUR PROBLEM, PLEASE "ACCEPT" MY ANSWER AS A SOLUTION. THANK YOU!
0 -
The above solution works great, as long as your card/dashboard is not meant to be responsive to user filters and you have clearly defined partitions over which the rank function should be applied. If your top 20 is meant to be responsive at the view level, I usually show a Horizontal Bar char and limit the number of bars to show sorting on totals, this way not only you give visibility into the top total, but also who they are. (but this uses a lot more real-state than a single number card).
0 -
Window functions in a beast mode are a good way to make this dynamic!
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 754 Beast Mode
- 61 App Studio
- 41 Variables
- 693 Automate
- 178 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive