Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
pbi
the above account stage column is a measure and I am trying to add consitional formatting using measure , and New color code is created suing below DAX query
Solved! Go to Solution.
Hi @utkarshshastri ,
If the value you are using for the condittional formatting is a measure you must use the measure itself and not the SELECTEDVALUE try the following:
New color code =
SWITCH([Account stage],
"High Awareness",1,
"Medium Awareness",2,
"Low Awareness",3,
"High conversion",4,
"Medium conversion",5,
"Low conversion",6,
"High Engagement",7,
"Medium Engagement",8,
"Low Engagement",9
)
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @utkarshshastri ,
If the value you are using for the condittional formatting is a measure you must use the measure itself and not the SELECTEDVALUE try the following:
New color code =
SWITCH([Account stage],
"High Awareness",1,
"Medium Awareness",2,
"Low Awareness",3,
"High conversion",4,
"Medium conversion",5,
"Low conversion",6,
"High Engagement",7,
"Medium Engagement",8,
"Low Engagement",9
)
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsCheck out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
72 | |
37 | |
31 | |
26 |
User | Count |
---|---|
95 | |
50 | |
43 | |
40 | |
35 |