How do I add a total to a column when I added a Beast Mode?
I added a Beast Mode so I would only get the Fee to list once since the Position ID is listed multiple times. I need to see each line so I can have a count on how many candidates per position. have I used - SUM(DISTINCT Fee
). It works great, but how do I now get a total for the column?
Raw Data
This is the pivot. Everything looks great except the Grand Total. I want the "Test Fee" to have a correct Grand Total. Can this be done?
Best Answers
-
Hi Kim,
Maybe there's something to this that I'm missing, but the Distinct would be causing the grand total to only sum the unique values within the list.
By having the Position ID displayed, you should just be able to aggregate(sum) the Fee column and it would give you the result you're after.
0 -
Thanks for reaching out to our community forum.
In most data visualization tools, it's generally not possible to combine distinct values and overall totals within a single column in a pivot table or similar structure.Here are the common approaches to achieve this:
- Separate Columns: Create two columns: one for distinct values and another for the overall total (Please see the screenshot below). This provides a clear separation and allows for easy analysis.
- Summary Card: Use a summary card to display the overall total separately from the detailed pivot table. This can be placed above or below the pivot for easy reference.
0
Answers
-
Hi Kim,
Maybe there's something to this that I'm missing, but the Distinct would be causing the grand total to only sum the unique values within the list.
By having the Position ID displayed, you should just be able to aggregate(sum) the Fee column and it would give you the result you're after.
0 -
Thanks for reaching out to our community forum.
In most data visualization tools, it's generally not possible to combine distinct values and overall totals within a single column in a pivot table or similar structure.Here are the common approaches to achieve this:
- Separate Columns: Create two columns: one for distinct values and another for the overall total (Please see the screenshot below). This provides a clear separation and allows for easy analysis.
- Summary Card: Use a summary card to display the overall total separately from the detailed pivot table. This can be placed above or below the pivot for easy reference.
0 -
Thank you for the responses! I was able to create the below Beast Mode which solved my issue.
SUM(MAX(
Fee
) FIXED (byPosition ID
))0 -
Great!
I apologize for the misunderstanding. It seems I misinterpreted your use case. I thought you wanted to display a unique row for each position ID with its corresponding fee, along with a grand total for the overall fees.
I'm glad you were able to find a solution that works for you!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
- 755 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