How to know the way DOMO beast mode 'calculated field' is calculating?

In order to solve the problem at Summary Number, I simplify the data.
below is the description of the problem:
below is the simplified data:
2024-4-1, data is 1.32, which is what I want to show.
2024-4-2, data is 2.32, which is what i want to show.
In Summary Number area, I want the average, that is (1.32+2.32)/2=1.82
but the Summary Number is 1.888
the calculated field for summary number is (sum (DISTINCT托盘库位数折算
) fixed( byStorage Location Name
,Storage Date
)) * (COUNT(DISTINCT Storage Location Name
) fixed (by Storage Date
))
Why the average data is not what I want? what is the problem with my design?
Looking for help!
thanks
Best Answer
-
Try just sum, not sum(DISTINCT), if you have 2+ rows with the same value sum(DISTINCT) would only use one of them in the calc.
0
Answers
-
Try just sum, not sum(DISTINCT), if you have 2+ rows with the same value sum(DISTINCT) would only use one of them in the calc.
0 -
This case my suggestion we can process using SQL in DOMO
1
Categories
- All Categories
- Product Ideas
- 2.1K Ideas Exchange
- Data Connections
- 1.3K Connectors
- 309 Workbench
- 17 Cloud Integrations
- Data & ETL
- 2.3K Magic ETL
- 120 SQL DataFlows
- 667 Datasets
- Visualize & Apps
- 90 App Studio
- 198 Pro-code Components
- 2.6K Charting & Analyzer
- 874 Calculations & Variables (Beast Mode)
- AI & Data science
- 23 Domo AI & AI Chat
- 4 Managing AI
- 18 Jupyter Workspaces
- Automate
- 122 Workflows
- Alerts
- Distribute
- 118 Domo Everywhere
- 284 Reporting
- Manage
- 146 Governance & Security
- 489 APIs
- 11 Add-ins & Plugins
- 13 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 118 Community Announcements
- 5K Archive