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
- Product Ideas
- 2K Ideas Exchange
- Connect
- 1.3K Connectors
- 308 Workbench
- 7 Cloud Amplifier
- 10 Federated
- Transform
- 661 Datasets
- 117 SQL DataFlows
- 2.2K Magic ETL
- 819 Beast Mode
- Visualize
- 2.5K Charting
- 85 App Studio
- 46 Variables
- Automate
- 193 Apps
- 483 APIs & Domo Developer
- 85 Workflows
- 23 Code Engine
- AI and Machine Learning
- 22 AI Chat
- 3 AI Projects and Models
- 18 Jupyter Workspaces
- Distribute
- 116 Domo Everywhere
- 282 Scheduled Reports
- 11 Software Integrations
- Manage
- 142 Governance & Security
- 9 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 115 Community Announcements
- 5K Archive