beast mode
Hi community, I'm new to domo and need some help. I have a simple data set (see below). I want to only view rows that have an order date. if it's blank, i don't to see it. I was hoping to use the filter but I can't figure out how to exclude blank dates, i only get options to filter by various date ranges.
Or, what would be the syntax to create another column labeled 'status' that shows 'incomplete' if the order date is blank and 'complete' if there is a date?
How could I use beast mode to do accomplish this? Thanks in advance!
order number | item | order date | order total | status |
---|---|---|---|---|
75 | Widget | $105.47 | incomplete | |
69 | Widget | $105.17 | incomplete | |
72 | Widget | $46.69 | incomplete | |
21 | Gear | 5/21/2020 | $251.40 | complete |
72 | Gear | 5/21/2020 | $267.95 | complete |
54 | Gear | 5/21/2020 | $250.00 | complete |
80 | Gear | 5/21/2020 | $339.79 | complete |
99 | Gear | 5/21/2020 | $249.70 | complete |
Best Answers
-
@newbie123 You use a case statement to check whether the order date field is null like this:
case when `order date` is null then 'incomplete' else 'complete' end
2 -
I agree with @MichelleH , you would then use the new field as a filter on the card and select IN complete.
If I solved your problem, please select "yes" above
0
Answers
-
@newbie123 You use a case statement to check whether the order date field is null like this:
case when `order date` is null then 'incomplete' else 'complete' end
2 -
I agree with @MichelleH , you would then use the new field as a filter on the card and select IN complete.
If I solved your problem, please select "yes" above
0 -
Thank you so much!!!
0 -
@ColemenWilson thats exactly what I was going after as well. since I wasn't able to use the date column to filter out blanks, I could use the new column I created and filter out using that way. @MichelleH thank you both!!
0
Categories
- All Categories
- 1.5K Product Ideas
- 1.5K Ideas Exchange
- 1.4K Connect
- 1.1K Connectors
- 280 Workbench
- 4 Cloud Amplifier
- 4 Federated
- 2.7K Transform
- 90 SQL DataFlows
- 562 Datasets
- 2K Magic ETL
- 3.4K Visualize
- 2.3K Charting
- 586 Beast Mode
- 13 App Studio
- 28 Variables
- 585 Automate
- 142 Apps
- 415 APIs & Domo Developer
- 27 Workflows
- 1 DomoAI
- 28 Predict
- 12 Jupyter Workspaces
- 16 R & Python Tiles
- 361 Distribute
- 99 Domo Everywhere
- 260 Scheduled Reports
- 2 Software Integrations
- 94 Manage
- 91 Governance & Security
- 9 Product Release Questions
- Community Forums
- 37 Getting Started
- 28 Community Member Introductions
- 89 Community Announcements
- 4.8K Archive