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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
sbm_tekade
Frequent Visitor

Wanted to use calculated column in measure

Hi Everyone,

I have one set of data where I calculated columns on certain conditions to apply conditional formatting on a visual-like matrix.

the conditional column having only two records in it i.e. TRUE and FALSE.

I wanted to use that column to apply conditional formatting on top of the visual using this column context by using measure StatusColor = SWITCH('Table'[Status], "TRUE", "blue", "FALSE", "red")

But the issue I was facing we are not allowed to use the calculated column in the above context to create new measures.

 

Can anyone suggest me different scenario or way to overcome this type of issue?

@Daryl-Lynch-Bzy

1 ACCEPTED SOLUTION
LQuedas
Resolver II
Resolver II

ey @sbm_tekade ,

 

instead you create the new conditional column with TRUE and FALSE, why don't you use the name of the color and then use the option "Format Style" equal to "Field Value", e.g.

LQuedas_0-1674822270520.png

let me know if this help you...

 

Cheers, LQ

View solution in original post

1 REPLY 1
LQuedas
Resolver II
Resolver II

ey @sbm_tekade ,

 

instead you create the new conditional column with TRUE and FALSE, why don't you use the name of the color and then use the option "Format Style" equal to "Field Value", e.g.

LQuedas_0-1674822270520.png

let me know if this help you...

 

Cheers, LQ

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors