Beastmode calculation error dividing

Nick_Commisso_X
Member
in Archive
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
1 -
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')
END1
Categories
- All Categories
- 2K Product Ideas
- 2K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 308 Workbench
- 6 Cloud Amplifier
- 10 Federated
- 3.8K Transform
- 660 Datasets
- 117 SQL DataFlows
- 2.2K Magic ETL
- 815 Beast Mode
- 3.3K Visualize
- 2.5K Charting
- 84 App Studio
- 46 Variables
- 780 Automate
- 191 Apps
- 482 APIs & Domo Developer
- 84 Workflows
- 23 Code Engine
- 41 AI and Machine Learning
- 21 AI Chat
- 2 AI Projects and Models
- 18 Jupyter Workspaces
- 408 Distribute
- 116 Domo Everywhere
- 281 Scheduled Reports
- 11 Software Integrations
- 146 Manage
- 142 Governance & Security
- 8 Domo Community Gallery
- 49 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 115 Community Announcements
- 4.8K Archive