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! Get ahead of the game and start preparing now! Learn more
Hi guys
I use the ISNULL() function in SAP Webi as below:
Customer Type = if(ISNULL([Customer type]),"",[Customer type])
How can I replicate this as a calculated measure in Power BI DAX?
Thanks in advance
I have solved this by going back to the query editor and adding a transformation step to replace values. Depending on your data model this might work. On the column, click Replace Values (Transform tab), Value to Find = null, Replace With your new value.
Hi @nuttybuddy,
ISNULL is not a supported function in DAX. You should replace it with ISBLANK.
You said ISBLANK returned error, what error did you get?
Regards,
Yuliana GU
ISBLANK() or possibly [Column] = ""
ISBLANK() is giving me errors..
Will try the other option...
That sounds very strange, I didn't even know that ISBLANK could throw errors.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |