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:
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
- 311 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 3.8K Transform
- 659 Datasets
- 116 SQL DataFlows
- 2.2K Magic ETL
- 815 Beast Mode
- 3.3K Visualize
- 2.5K Charting
- 82 App Studio
- 45 Variables
- 776 Automate
- 190 Apps
- 481 APIs & Domo Developer
- 82 Workflows
- 23 Code Engine
- 40 AI and Machine Learning
- 20 AI Chat
- 1 AI Playground
- 1 AI Projects and Models
- 18 Jupyter Workspaces
- 410 Distribute
- 120 Domo Everywhere
- 280 Scheduled Reports
- 10 Software Integrations
- 144 Manage
- 140 Governance & Security
- 8 Domo Community Gallery
- 48 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 114 Community Announcements
- 4.8K Archive