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 to any 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 to any users posts that helped you.
**Please mark as accepted the ones who solved your issue.0
Categories
- All Categories
- 1.5K Product Ideas
- 1.5K Ideas Exchange
- 1.4K Connect
- 1.1K Connectors
- 278 Workbench
- 4 Cloud Amplifier
- 4 Federated
- 2.7K Transform
- 89 SQL DataFlows
- 559 Datasets
- 2K Magic ETL
- 3.3K Visualize
- 2.3K Charting
- 574 Beast Mode
- 12 App Studio
- 28 Variables
- 582 Automate
- 141 Apps
- 414 APIs & Domo Developer
- 26 Workflows
- 1 DomoAI
- 28 Predict
- 12 Jupyter Workspaces
- 16 R & Python Tiles
- 356 Distribute
- 95 Domo Everywhere
- 259 Scheduled Reports
- 2 Software Integrations
- 92 Manage
- 89 Governance & Security
- 9 Product Release Questions
- Community Forums
- 42 Getting Started
- 28 Community Member Introductions
- 89 Community Announcements
- 4.8K Archive