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
- All Categories
- 2K Product Ideas
- 2K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 311 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 3.8K Transform
- 655 Datasets
- 114 SQL DataFlows
- 2.2K Magic ETL
- 811 Beast Mode
- 3.3K Visualize
- 2.5K Charting
- 80 App Studio
- 45 Variables
- 771 Automate
- 190 Apps
- 481 APIs & Domo Developer
- 77 Workflows
- 23 Code Engine
- 36 AI and Machine Learning
- 19 AI Chat
- AI Playground
- AI Projects and Models
- 17 Jupyter Workspaces
- 409 Distribute
- 120 Domo Everywhere
- 279 Scheduled Reports
- 10 Software Integrations
- 142 Manage
- 138 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