Running into a issue with a field aggregation in domo table visual

Hi I am running into a weird issue in domo table I have multiple metrics inside the table two of the metrics need to be at no aggregation since it is a price and an average of the landed cost, but the rest of the fields need to be summed. Issue I am running into is the first field, which is webretailprice, when that is switched from sum to no aggregation, all fields remain as they are summed up when I switch average landed cost to no aggregation, which is a beast mode calculation "(COGSDollars
/(QtyMarketingForecast
- QtyCancel
- QtySoldout
))" It changes all of the metrics to no aggregation
Here are the fields before switching average landed cost to no aggregation
Switching to no aggregation for average landed cost
After Switching to No Aggregation:
Best Answer
-
@Utz This is pretty common, since switching a field to No Aggregation is the equivalent of moving that field to the Group By clause (i.e. all other fields must be grouped by each unique value of that field).
To resolve this, you will need to update your beast mode so that each individual field in the calculation uses the same aggregation that it is in the card. For example, if all of your fields are being summed in the card, then your beast mode should look like this:
sum(`COGSDollars`)/(sum(`QtyMarketingForecast`) - sum(`QtyCancel`) - sum(`QtySoldOut`))
0
Answers
-
@Utz This is pretty common, since switching a field to No Aggregation is the equivalent of moving that field to the Group By clause (i.e. all other fields must be grouped by each unique value of that field).
To resolve this, you will need to update your beast mode so that each individual field in the calculation uses the same aggregation that it is in the card. For example, if all of your fields are being summed in the card, then your beast mode should look like this:
sum(`COGSDollars`)/(sum(`QtyMarketingForecast`) - sum(`QtyCancel`) - sum(`QtySoldOut`))
0 -
Thank you @MichelleH this worked I appreciate your quick response and help!
0
Categories
- All Categories
- 2K Product Ideas
- 2K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 308 Workbench
- 7 Cloud Amplifier
- 10 Federated
- 3.8K Transform
- 661 Datasets
- 117 SQL DataFlows
- 2.2K Magic ETL
- 819 Beast Mode
- 3.3K Visualize
- 2.5K Charting
- 84 App Studio
- 46 Variables
- 781 Automate
- 193 Apps
- 483 APIs & Domo Developer
- 84 Workflows
- 23 Code Engine
- 43 AI and Machine Learning
- 22 AI Chat
- 3 AI Projects and Models
- 18 Jupyter Workspaces
- 409 Distribute
- 116 Domo Everywhere
- 282 Scheduled Reports
- 11 Software Integrations
- 146 Manage
- 142 Governance & Security
- 8 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- 5.4K Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 115 Community Announcements
- 4.8K Archive