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
- Connect
- 1.3K Connectors
- 308 Workbench
- 7 Cloud Amplifier
- 10 Federated
- Transform
- 662 Datasets
- 118 SQL DataFlows
- 2.2K Magic ETL
- 821 Beast Mode
- Visualize
- 2.6K Charting
- 85 App Studio
- 46 Variables
- Automate
- 193 Apps
- 483 APIs & Domo Developer
- 85 Workflows
- 23 Code Engine
- AI and Machine Learning
- 23 AI Chat
- 3 AI Projects and Models
- 18 Jupyter Workspaces
- Distribute
- 116 Domo Everywhere
- 283 Scheduled Reports
- 11 Software Integrations
- Manage
- 142 Governance & Security
- 10 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 115 Community Announcements
- 5K Archive