This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hi,
I am trying to add a conditional column that shows "complete" when XYZ columns contain a value (0 included), and "not complete" when any of XYZ columns contains a blank cell (null).
I have added a conditional column as follows:
If [columnX] equals [null] then [not complete]
Else if [columnY] equals [null] then [not complete]
Else if [columnZ] equals [null] then [not complete]
Otherwise ["complete"]
The funny thing is that the conditional columns works as expected in the query editor but when I close&apply the query, it shows the error "cannot convert the value null to type text". How can I check if a cell that contains a number is blank if the value "null" is considered as a text type by the operator?
Any ideas will be greatly appreciated!
Thanks!
Hi @ovl,
Can you share the formula here please? Did this happen after you added the column?
Best Regards,
Dale
Hi Dale,
Thanks for quick reply!
Here is a screenshot of what I was trying to explain:
As you can see below, when I click "ok", the column is added and works as expected (in the query editor). However, when I close and apply the query, it shows me the error "we cannot convert the value null to type text" and the column is not added.
Thanks for your help!
Oriol
Hi,
I am trying to add a conditional column that shows "complete" when XYZ columns contain a value (0 included), and "not complete" when any of XYZ columns contains a blank cell (null).
I have added a conditional column as follows:
If [columnX] equals [null] then [not complete]
Else if [columnY] equals [null] then [not complete]
Else if [columnZ] equals [null] then [not complete]
Otherwise ["complete"]
The funny thing is that the conditional columns works as expected in the query editor but when I close&apply the query, it shows the error "cannot convert the value null to type text". How can I check if a cell that contains a number is blank if the value "null" is considered as a text type by the operator?
Any ideas will be greatly appreciated!
Thanks!
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 25 | |
| 23 | |
| 19 | |
| 17 | |
| 14 |
| User | Count |
|---|---|
| 25 | |
| 23 | |
| 20 | |
| 20 | |
| 19 |