Beast Mode Embedded True/False
Hi There,
I'd like to create a beast mode so that my pie chart can create all the options.
I currently have a beast mode that has a true/false statement indicating which cells have been updated/not updated. I want to return the count of all the not updated as well as options A, B, and C. I'm not sure who to return all of those options as well as the not updated column.
CASE WHEN `option` = 'A' OR `option` = 'B' OR `option` = 'C' THEN 'UPDATED' ELSE 'NOT UPDATED' END
Return should =
A
B
C
NOT UPDATED.
Any help is much appreciated!
Best Answer
-
If you use the formula, it should be populating the new beast mode field with a value.
So, if the new column is called "Status", then for the cases when `option`
'A' it stores a value of 'A'
'B' it stores a value of 'B'
'C' it stores a value of 'C'
Anything else it should store 'Not Updated'
And then when you graph it, it should tally those numbers. If that doesn't work, you can insert:
when `option` is null then 'Not Updated' as the additional case when line.
0
Answers
-
I think I understand your question, but let me restate:
You want a count of options A, B, C, and Not Updated to show on a chart. If Option has a value A, B, or C, then it is considered updated.
If so:
case
when `option` = 'A' then 'A'
when `option` = 'B' then 'B'
when `option` = 'C' then 'C'
else 'Not Updated'
end
Then you can create your chart and sort by the item created above.
Let me know if this produces your desired result.
0 -
Thanks for the quick response!
The problem I'm having is that the cells that are not updated are actually blank, so that's why they're not being counted. Is there a work around to also count the not updated cells?
0 -
If you use the formula, it should be populating the new beast mode field with a value.
So, if the new column is called "Status", then for the cases when `option`
'A' it stores a value of 'A'
'B' it stores a value of 'B'
'C' it stores a value of 'C'
Anything else it should store 'Not Updated'
And then when you graph it, it should tally those numbers. If that doesn't work, you can insert:
when `option` is null then 'Not Updated' as the additional case when line.
0 -
That worked perfectly!
Thanks so much!!!
0
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
- 753 Beast Mode
- 61 App Studio
- 41 Variables
- 692 Automate
- 177 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