Forum Discussion
Conditional Formatting of Blank Values in Matrix using DAX
- Anonymous4 years ago
Hi Anonymous ,
I tried to find other possible ways (conditional formatting Format style as Field value), but it failed... At the moment it seems to be possible to find a more feasible way which is the way you mentioned in your reply that the blank value will be treated as 0 when calculating the hours, and then the data with "blank values" will show the color correctly...
Best Regards
Hi Anonymous ,
I tried to find other possible ways (conditional formatting Format style as Field value), but it failed... At the moment it seems to be possible to find a more feasible way which is the way you mentioned in your reply that the blank value will be treated as 0 when calculating the hours, and then the data with "blank values" will show the color correctly...
Best Regards
Hi. I have the same issue and definetly this must be a bug. When the measure in the matrix visual is empty, the formatting measure is not even evaluated (you can test this by making the formatting measure a constant, and still, the matrix cell will be formatted as if it is empty when the matrix measure is empty, ignoring the formatting measure completely).
When you include the formatting measure in the matrix, the formatting measure now is evaluated even then the matrix measure is empty and it works as expected.
How can this be fixed?
(I can't use the 0 solution because I have a line chart that would display ALL dates because of the 0 even when the dates are filterede out (autoexist wouldn't apply and the line chart would explode ignoring the date filter)).