Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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ês