Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
User | Count |
---|---|
74 | |
71 | |
42 | |
31 | |
28 |
User | Count |
---|---|
99 | |
92 | |
50 | |
49 | |
46 |