Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hi All,
How would I write this as a custom column?...
I have a table called Fruit and need the following...
Solved! Go to Solution.
Try:
IF TEXT.LENGTH([Apple])=0 THEN [Pineapple] ELSE [Pear]
or
IF [Apple] & "" = "" THEN [Pineapple] ELSE [Pear]
Try:
IF TEXT.LENGTH([Apple])=0 THEN [Pineapple] ELSE [Pear]
or
IF [Apple] & "" = "" THEN [Pineapple] ELSE [Pear]
Brilliant, thank you very much!😎
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
| User | Count |
|---|---|
| 130 | |
| 129 | |
| 59 | |
| 48 | |
| 47 |