Beast Mode wrongly gives 0 as answer

My simple beast mode SUM(aprobado
) / SUM(ingreso_mesa
) returns 0 in all cases
Please help
Answers
-
Hi @Juan_Coronel_221b. Welcome to the Domo Community. You'll love it here.
You don't want to aggregate each column that goes into your beastmode when you are looking at line-by-line, as in your screenshot.Remove the SUM() that precedes each column, and that will give your 0 column values.
Like so:
aprobado
/ingreso_mesa
✅Did this solve your problem? Accept it as a solution!
❤️Did you love this answer? Mark it as "Awesome"!
👍Do you agree with this process? Click "Agree"!
0 -
Thanks a lot Devon, we try but it sends an error message
0 -
Make sure you wrap it in backticks :
` aprobado ` / ` ingreso_mesa `
✅Did this solve your problem? Accept it as a solution!
❤️Did you love this answer? Mark it as "Awesome"!
👍Do you agree with this process? Click "Agree"!
0 -
Hi Devon, we did try formatting it as
` aprobado ` / ` ingreso_mesa `
but it's still not producing the expected result
0 -
Actually, something strange happened. In our urgency to find a solution, we tried some unconventional options. One of those was to reverse the formula order, using:
SUM(ingreso_mesa) / SUM(aprobado)
While this is an incorrect calculation, it surprisingly produced a non-zero result
0 -
Can you share a screenshot of the card configuration as well?
0 -
Make sure you format the original calculation column as a percentage:
- click the column that has your intended calculation
- click format
- click display as Percentage
All of those values resolve to a number less than 1. The table will default to show 0, unless you tell it to treat it as a percentage
✅Did this solve your problem? Accept it as a solution!
❤️Did you love this answer? Mark it as "Awesome"!
👍Do you agree with this process? Click "Agree"!
1 -
I ggenovese
the beast modes are0 -
I Devon
let me show you we, try with that format0 -
Can you try giving the beat mode a different name, one that starts with a letter instead of a symbol? Also can you add a total row, does it give 0% as the total too?
0 -
Hi
Just wanted to give you all an update on this card
We found a fix that seems to be working
Here's the Beast Mode fix we put in:
CAST (SUM(`aprobado`) AS DECIMAL ) / CAST (SUM(NULLIF(`ingreso_mesa`,0)) AS DECIMAL)
The cards look like they're working now, but we want to keep an eye on them for the next days to make sure everything's good.
0 -
1
-
1
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.6K 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