Filtering on Calculated Values
I have a Beast Mode that is calculating the difference between 2 columns. I need a filter that will give me all of the values that are $10k and above and all values that are -$10k and below. I assume I need to create a 'When' Beast Mode that includes both of the filters, but I am getting a Syntax error. I am thinking maybe it is because the column I am using is the calculated field. Any suggestions on accomplishing this? Thanks!
Best Answer
-
Hmm I am not getting the same error, see below:
Could you screenshot your beastmode so we can take a look?
If I solved your problem, please select "yes" above
1
Answers
-
This is possible, but to help we need a bit more information. Could you share the beastmode field and the other field you are using?
It will end up looking something like this:
CASE WHEN `Field1` - `CalculatedField` >= 10000 THEN 'In'
WHEN `Field1` - `CalculatedField` <= -10000 THEN 'In'
ELSE 'Out' ENDThen you will use the above beastmode as a filter on the card with the condition that 'In' is in.
The `CalculatedField` above could either be:
1. A nested beastmode, which is a new feature just announced that requires requesting access to via your CSM.
2. Your calculated field re-typed in this filter beastmode.If I solved your problem, please select "yes" above
0 -
My calculated column Beast Mode is called FluctCurrVsYest with the calculation of SUM(
Current Balance
-Yesterday Balance
). When I choose it in my new Beast Mode it inserts the calculation, not the name. The error I receive is: 'Calculation Error : This calculation contained a syntax error.' Here is the Beast Mode I receive the error on:CASE
WHENSUM(
Current Balance-
Yesterday Balance)
>=1000
THEN '1'
WHENSUM(
Current Balance-
Yesterday Balance)
<=-10000
THEN '1'
ELSE '2'
ENDThanks!
0 -
Hmm I am not getting the same error, see below:
Could you screenshot your beastmode so we can take a look?
If I solved your problem, please select "yes" above
1 -
Looks like I had too many ` symbols. I was able to get it to work by using yours as a guide. Thank you VERY VERY much!
1
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 754 Beast Mode
- 61 App Studio
- 41 Variables
- 693 Automate
- 178 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive