Creating average value in card not working
I'm trying to create a card that takes an average of a column and displays it in a single value gauge. Changing the value of the column to Average gives me a strange value. It's doing it on every different data source I'm trying. I created my own Domo online form to test and I still see the strange value. Here's the value I get when averaging the following data. Value displayed on the card = 167 from the data set below.
10 |
15 |
29 |
1 |
12 |
12 |
23 |
34 |
12 |
23 |
43 |
Comments
-
are you using beast mode to do the average calculation or just setting the aggregation in properties on the chart to average?
Domo Arigato!
**Say 'Thanks' by clicking the thumbs up in the post that helped you.
**Please mark the post that solves your problem as 'Accepted Solution'1 -
Right now I'm just setting it as an aggregation in the chart properties. Beast mode works when I do it but I have too many items to beast mode them all.
0 -
You are right. I've tested by using the Single Value Card and adding your dataset in an online form.
The summary number average is the only one creating it correctly.
It should be 19,45.
After changing the properties in the card it is now averaging to 20.88.
Also when using beast mode as to creating a weighted average it appears that it is using a Count distinct in the denominator.
Bottom line, it is removing duplicate values.
Summary : Correctly calculated value
in Single card: sum(dataset)/ Count(distinct dataset).
let me know what you think.
regards,
JP
0
Categories
- 10.5K All Categories
- 7 Connect
- 917 Connectors
- 250 Workbench
- 464 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 477 Datasets
- 190 Visualize
- 252 Beast Mode
- 2.1K Charting
- 11 Variables
- 17 Automate
- 354 APIs & Domo Developer
- 89 Apps
- 3 Workflows
- 20 Predict
- 5 Jupyter Workspaces
- 15 R & Python Tiles
- 246 Distribute
- 62 Domo Everywhere
- 243 Scheduled Reports
- 21 Manage
- 42 Governance & Security
- 173 Product Ideas
- 1.2K Ideas Exchange
- 12 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive