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.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
- 755 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