Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Conditional Formatting Rules Work in the Opposite Way as Specified

Hi,

 

Whilst working on an analysis services report I came across an issue with the conditional formatting functionality. After creating a new measure which produces a variance column I wanted to have negative percentage variances be highlighted in red. The rule required to achieve this works, but in the complete opposite way (see image)

 

I managed to achieve the result by reversing the colour definitions, but basically it seemed to be doing the oppsite as was specified in the rule. The result of the rule in the image is that all negative percentage values are ow highlighted in red, and all neutral or positive values are black.

Annotation 2020-03-13 173256.png

 

Status: New
Comments
v-qiuyu-msft
Community Support

Hi @djs1984

 

Did you connect to SSAS in a live connection or import mode? 

Please drag the measure Tonnage Variance to the same table visual then compare the conditional formatting color with measure values. Also please modify the first condition as below then test again: 

 

a1.PNG

 

Best Regards,
Qiuyun Yu

Sarah0112358
New Member

I had a similar "reversing" issue when trying to apply red X icons to "0" values and green tick icons to "1" values.  It was reversing everything, making 0 green and 1 red.  It turned out I had to change it from "Summarization by Count" to "Summarization by Sum" in the Advanced Controls menu, before it then it correctly followed my instructions. (Slightly different than your set-up, but posting in case it helps.) 

Sarah0112358_1-1638307770501.png

 

Sarah0112358_0-1638307388908.png 

 

Regards,

Sarah