Need Column Subtotal and Total to be average of % Amounts not Totals

I need the Subtotal and Totals of % Spent Columns to be averaged not Totaled
fyi - transactionamt = JTD Cost
(IFNULL(CASE WHEN SourceCode
= 'Blank' THEN Filter Rows.TransactionAmt
end,0))/
CASE WHEN (IFNULL(RevisedEstimatedCost
,0)) >= (IFNULL(CASE WHEN SourceCode
= 'Blank' THEN Filter Rows.TransactionAmt
end,0))
THEN (IFNULL(`RevisedEstimatedCost`,0))
ELSE (IFNULL(CASE WHEN `SourceCode` = 'Blank' THEN `Filter Rows.TransactionAmt` end,0))
END
Best Answers
-
You can change the aggregation in the field properties of your fields you added to the chart. Here is a KB article for reference https://domo-support.domo.com/s/article/360043429573?language=en_US#totals_subtotals_individual_columns
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0 -
The subtotal and total row values are based on the aggregation type that is selected for that column. I'm guessing you have the aggregation type of your % Spent column set to Sum. If you change it to average, it will take the average of those values.
**Check out my Domo Tips & Tricks Videos
**Make sure toany users posts that helped you.
**Please mark as accepted the ones who solved your issue.0
Answers
-
@jtrollinger If you put SUMs around the numerator and denominator of your beast mode it should provide a weighted average in your total and subtotal
0 -
You can change the aggregation in the field properties of your fields you added to the chart. Here is a KB article for reference https://domo-support.domo.com/s/article/360043429573?language=en_US#totals_subtotals_individual_columns
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0 -
The subtotal and total row values are based on the aggregation type that is selected for that column. I'm guessing you have the aggregation type of your % Spent column set to Sum. If you change it to average, it will take the average of those values.
**Check out my Domo Tips & Tricks Videos
**Make sure toany users posts that helped you.
**Please mark as accepted the ones who solved your issue.0
Categories
- All Categories
- 1.2K Product Ideas
- 1.2K Ideas Exchange
- 1.4K Connect
- 1.1K Connectors
- 273 Workbench
- 2 Cloud Amplifier
- 3 Federated
- 2.7K Transform
- 78 SQL DataFlows
- 525 Datasets
- 2.1K Magic ETL
- 2.9K Visualize
- 2.2K Charting
- 437 Beast Mode
- 23 Variables
- 513 Automate
- 115 Apps
- 390 APIs & Domo Developer
- 8 Workflows
- 26 Predict
- 10 Jupyter Workspaces
- 16 R & Python Tiles
- 332 Distribute
- 77 Domo Everywhere
- 255 Scheduled Reports
- 66 Manage
- 66 Governance & Security
- 1 Product Release Questions
- Community Forums
- 40 Getting Started
- 26 Community Member Introductions
- 68 Community Announcements
- 4.8K Archive