Blank vs empty square

Hello everyone,
I encountered these two fields in one of my columns ("blank" vs empty square), which is messing a bit with my formulas. Why is this happening? What's the difference between the two?
Thanks so much!
Best Answer
-
@Victoria_G1 I find that if someone put a space or nextline in the source data it may cause it to come through Domo as blank and not null. You can try to do a squash space in your formula and then a case statement that looks for both nulls and single spaces and replaces them with text like:
case
when COLUMN is null then 'Blank'
when COLUMN = ' ' then 'Blank'
else COLUMN
end
Here is the squash whitespace formula found in the formula tile
**If this answer solved your problem be sure to like it and accept it as a solution!
0
Answers
-
@Victoria_G1 "Blank" typically means there is a
null
(i.e. no value). They empty square is most likely an empty string, which is a text value with a length of zero. Can you share a little more about the formula challenges you're experiencing?0 -
@Victoria_G1 I find that if someone put a space or nextline in the source data it may cause it to come through Domo as blank and not null. You can try to do a squash space in your formula and then a case statement that looks for both nulls and single spaces and replaces them with text like:
case
when COLUMN is null then 'Blank'
when COLUMN = ' ' then 'Blank'
else COLUMN
end
Here is the squash whitespace formula found in the formula tile
**If this answer solved your problem be sure to like it and accept it as a solution!
0
Categories
- All Categories
- Product Ideas
- 2.1K Ideas Exchange
- Data Connections
- 1.3K Connectors
- 309 Workbench
- 17 Cloud Integrations
- Data & ETL
- 2.3K Magic ETL
- 120 SQL DataFlows
- 667 Datasets
- Visualize & Apps
- 90 App Studio
- 198 Pro-code Components
- 2.6K Charting & Analyzer
- 874 Calculations & Variables (Beast Mode)
- AI & Data science
- 23 Domo AI & AI Chat
- 4 Managing AI
- 18 Jupyter Workspaces
- Automate
- 122 Workflows
- Alerts
- Distribute
- 118 Domo Everywhere
- 284 Reporting
- Manage
- 146 Governance & Security
- 489 APIs
- 11 Add-ins & Plugins
- 13 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 118 Community Announcements
- 5K Archive