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 there,
I would need to internally differentiate when a measure is 0 or blank, depending on the result of the calculation if this makes 0 or if there is no data so it cannot make a calculation.
thanks in advance
@maserr , Check blank with
isblank
example
if(isblank([Col1]),1,0)
if([Col1]=0,1,0)
Hi,
I know the ISBLANK() function but how internally I know the difference between a value that has calculated that the result is 0 from a result of a measure that cannot calculate anything because there is no data?
Thanks
Hi @maserr ,
The description is not very clear. Try to create such a measure:
Measure 2 = IF(ISBLANK([Measure]),"NULL",[Measure])
If it doesn't meet your requirements, please describe more about how you want to distinguish between 0 and blank.
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Dear Lian
There are two cases:
1. The measure calculates and the value obtained is 0
2. The measure is not calculating anything because there is no data, so the value is NULL
The second case is possible when the measure is referring per example to a month that does not include information. How can I differentiate these two cases?
Thanks
Hello, did you find a solution?
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 |
---|---|
114 | |
99 | |
82 | |
70 | |
60 |
User | Count |
---|---|
148 | |
116 | |
104 | |
89 | |
65 |