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:
202441, data is 1.32, which is what I want to show.
202442, 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
 1.7K Product Ideas
 1.7K Ideas Exchange
 1.5K Connect
 1.2K Connectors
 294 Workbench
 6 Cloud Amplifier
 8 Federated
 2.8K Transform
 97 SQL DataFlows
 607 Datasets
 2.1K Magic ETL
 3.8K Visualize
 2.4K Charting
 707 Beast Mode
 49 App Studio
 39 Variables
 667 Automate
 170 Apps
 446 APIs & Domo Developer
 44 Workflows
 7 DomoAI
 33 Predict
 13 Jupyter Workspaces
 20 R & Python Tiles
 391 Distribute
 111 Domo Everywhere
 274 Scheduled Reports
 6 Software Integrations
 115 Manage
 112 Governance & Security
 Domo Community Gallery
 31 Product Releases
 9 Domo University
 5.3K Community Forums
 40 Getting Started
 30 Community Member Introductions
 103 Community Announcements
 4.8K Archive