Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi community,
I have a simple question regarding a calculated column, a 0 value is not being recognised. I have a calculated column (let's call it a column A), formatted whole number data-type. I'm creating another calculated column (let's call it column B) to find out a status based on value in column A. I'm using a simple if statment as per below;
There are some blank values in column A, hence, in my condition I'm returnig blank for those but there are some 0 values in column A where it should return "Within SLA" INSTEAD it is returing blank!
I would appreciate your help on this issue.
Brijesh
Solved! Go to Solution.
@Brijesh , Try like
Column B = IF( isblank('Table1'[Column A]) , BLANK(),
IF('Table1'[Column A] < 1,"Within SLA","Outside SLA"))
or
Column B = IF( isblank('Table1'[Column A]) , BLANK(),
IF('Table1'[Column A] <= 1,"Within SLA","Outside SLA"))
Hi @Brijesh ,
You can watch the following video to get a good understanding of difference with ISBLANK and BLANK():
Best Regards
Community Support Team _ Rena Ruan
If this post helps, then please consider Accept it as the solution to help the other members find it more.
@Brijesh , Try like
Column B = IF( isblank('Table1'[Column A]) , BLANK(),
IF('Table1'[Column A] < 1,"Within SLA","Outside SLA"))
or
Column B = IF( isblank('Table1'[Column A]) , BLANK(),
IF('Table1'[Column A] <= 1,"Within SLA","Outside SLA"))
Thanks Amit,
It worked like charm!! Do you know why it wasn't working when I was comparing blank value rather than ISBLANK function? I mean what's the difference between these two method?
Hi @Brijesh ,
You can watch the following video to get a good understanding of difference with ISBLANK and BLANK():
Best Regards
Community Support Team _ Rena Ruan
If this post helps, then please consider Accept it as the solution to help the other members find it more.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
110 | |
91 | |
84 | |
66 |