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.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 616 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 738 Beast Mode
- 57 App Studio
- 40 Variables
- 685 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 47 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 124 Manage
- 121 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive