Cant get the percentage of the total!!!
Hi All
I'm trying to calculate the percentage of a column (that is aggregated) using this beastmode
(SUM(CASE WHEN `Cluster` = 'Greater North' THEN `Uno`
Else 0
END)) /Sum(`Uno`) *100
However, in the table it shows "100" although in the Total it does have the right percentage!! (sse pic)
What I am doing wrong?
Thanks
Comments
-
Unbelievable, I had to calculate everything in ETL because of the table not working.
Power BI is looking better and better TBH
1 -
Did you reach out to your Domo admin or try to open a support ticket with Domo?
0 -
Hi Dani
I had to deliver it by today so I had to get it done. We have domo as an add-on (from Riskonnect) and the support response is not very fast.
Still puzzled why the beastmode didn't work. I even produce an ETL to create a little table as shown in this post to no avail.
0 -
Have you tried using OVER() ?
Here's an example I used for the included screen shot.
SUM(`Extended Price`) / SUM(SUM(`Extended Price`)) OVER()
7 -
thanks, that seems to work, however, it does not let me a
pply totals (see screenshot).
0 -
0
Categories
- 10.5K All Categories
- 8 Connect
- 918 Connectors
- 250 Workbench
- 472 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 477 Datasets
- 198 Visualize
- 254 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
- 247 Distribute
- 63 Domo Everywhere
- 243 Scheduled Reports
- 21 Manage
- 42 Governance & Security
- 176 Product Ideas
- 1.2K Ideas Exchange
- 12 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive