Forum Discussion
David23
3 years agoFrequent Visitor
Alternate matrix row colors
Hello I work with Power Bi Desktop RS. I want a dynamic background color. I explain myself with the image below: I want the lines of area 1, 3 and 5 to be with a red background color. and the li...
- 3 years ago
Sorry, I don't have Report Server installed, so I cannot test it. Maybe try on the Report Server forum?
https://community.powerbi.com/t5/Report-Server/bd-p/ReportServer
- 3 years ago
ok. very Big thanks for you help.
PaulDBrown
3 years agoCommunity Champion
Sorry, I don't have Report Server installed, so I cannot test it. Maybe try on the Report Server forum?
https://community.powerbi.com/t5/Report-Server/bd-p/ReportServer
David23
3 years agoFrequent Visitor
I increased the measure in the conditional formatting. but the display is not at the top :
here is the script used :
Me_CF2 =
VAR _Rnk =
IF (
ISBLANK ( [S-Revenue_actual] ),
BLANK (),
CALCULATE (
RANKX ( ALLSELECTED ( DIM_PRODUCT ), [S-Revenue_actual],, DESC ),
ALLEXCEPT ( DIM_PRODUCT, DIM_PRODUCT[pr_offer] )
)
)
RETURN
IF (
NOT ISINSCOPE ( DIM_PRODUCT[pr_offer] ),
"White",
IF (
NOT ISINSCOPE ( Dim_Time[Period] ),
"White",
IF (
AND ( ISINSCOPE ( DIM_PRODUCT[pr_offer] ), ISEVEN ( _Rnk ) ),
"#EFB5B9",
"#A0D1FF"
)
)
)