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.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 616 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 738 Beast Mode
- 57 App Studio
- 40 Variables
- 685 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 47 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 124 Manage
- 121 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive