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.
I currently have the following statement which works:
Measure2 = If([Measure] <= 0,5;[Measure];"")
However, I want the value for 'true' to be blank, and for false to be [measure].
When I change this in my measure, it gives only blanks. And more, all values in my table are suddenly blank.
I cannot see what I do wrong here though, and why it would be able to show this correctly but not when I switch the true and false.
Solved! Go to Solution.
@Anonymous,
Please try the expression below.
Measure2 = If([Measure] <= 0,5,BLANK(),[Measure])
If the issue persists, please provide us more information about your report, so that we can make further analysis. You can upload a pbix file to Onedrive or any web storage and share the link. Do mask sensitive data before uploading.
Regards,
Charlie Liao
@Anonymous,
Please try the expression below.
Measure2 = If([Measure] <= 0,5,BLANK(),[Measure])
If the issue persists, please provide us more information about your report, so that we can make further analysis. You can upload a pbix file to Onedrive or any web storage and share the link. Do mask sensitive data before uploading.
Regards,
Charlie Liao
Thank you, that works for me! 🙂
I currently have the following statement which works:
Measure2 = If([Measure] <= 0,5;[Measure];"")
However, I want the value for 'true' to be blank, and for false to be [measure].
When I change this in my measure, it gives only blanks. And more, all values in my table are suddenly blank.
I cannot see what I do wrong here though, and why it would be able to show this correctly but not when I switch the true and false.
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 |
---|---|
113 | |
100 | |
78 | |
76 | |
52 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |