Sort Not working as Desired
I need this Table to Sort by the Sub Total in the Total Column. But the CustName is being forced into the SORTING Option because I have selected SubTotal Rows. But I need SUBTotals selected because Each Customer has Phases. How can I Sort by SUBTotal Totals and NOT CustName?
Best Answers
-
You can take the beast mode that Grant suggests and make it be the first column in your table, which will then allow it to be sorted first, but I don't think it is the look you are going for. I also found that the regular total column doesn't subtotal in the subtotal row.
A workaround might be to make your top level card just contain the customer and the subtotal, then create a drill path that would show the detail that you have in your current card. Having your top level card just contain the customer and subtotal will allow you to sort by subtotal descending.
**Check out my Domo Tips & Tricks Videos
**Make sure to any users posts that helped you.
**Please mark as accepted the ones who solved your issue.0 -
Another option might be to use the pivot table card. It will allow you to sort by your total column and still have subtotals
**Check out my Domo Tips & Tricks Videos
**Make sure to any users posts that helped you.
**Please mark as accepted the ones who solved your issue.1
Answers
-
Have you tried using a window function and adding it to your sort at the top so it's sorted first?
SUM(SUM(`Balance`)) OVER (PARTITION BY `CustName`)
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1 -
CustName is being FORCED into the 1st Sorting position because I have Show Sub Total Rows selected. I can not delete it nor move it.
0 -
You can take the beast mode that Grant suggests and make it be the first column in your table, which will then allow it to be sorted first, but I don't think it is the look you are going for. I also found that the regular total column doesn't subtotal in the subtotal row.
A workaround might be to make your top level card just contain the customer and the subtotal, then create a drill path that would show the detail that you have in your current card. Having your top level card just contain the customer and subtotal will allow you to sort by subtotal descending.
**Check out my Domo Tips & Tricks Videos
**Make sure to any users posts that helped you.
**Please mark as accepted the ones who solved your issue.0 -
Another option might be to use the pivot table card. It will allow you to sort by your total column and still have subtotals
**Check out my Domo Tips & Tricks Videos
**Make sure to any users posts that helped you.
**Please mark as accepted the ones who solved your issue.1 -
Thanks Mark I used your suggestion to build a Drill down table by Customer Sorted by Balance. This will work. Thank you.
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
- 56 App Studio
- 40 Variables
- 684 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 46 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 123 Manage
- 120 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