Beastmode calculation error dividing
I'm trying to create a BeastMode that will give me 'average views per user'.
(tool 1 views + tool 2 views) / total users = average views per user
CONCAT (
(sum(`Tool 1 Views`)+Sum(`Tool 2 Views`) / (SUM(`Total Users`)))
,'Views')
My issue is that it VALIDATES the code but then gives me the following error: "An issue has occurred during processing. We are unable to complete the request at this time". I know the numerator executes correctly and the denominator executes correctly. Just not when I divide them
Anyone know any potential fixes?
Tagged:
0
Comments
-
CONCAT (
(sum(`Tool 1 Views`)+Sum(`Tool 2 Views`)) / (SUM(`Total Users`))
,' Views')Try this
“There is a superhero in all of us, we just need the courage to put on the cape.” -Superman1 -
If that doesn't work, you could try this:
case when sum(`Total Users`)=0 then 0 else
CONCAT (
(sum(`Tool 1 Views`)+Sum(`Tool 2 Views`)) / (SUM(`Total Users`))
,' Views')
END
“There is a superhero in all of us, we just need the courage to put on the cape.” -Superman1
Categories
- 10.5K All Categories
- 8 Connect
- 918 Connectors
- 250 Workbench
- 473 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 478 Datasets
- 209 Visualize
- 257 Beast Mode
- 2.1K Charting
- 12 Variables
- 18 Automate
- 355 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
- 183 Product Ideas
- 1.2K Ideas Exchange
- 11 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive