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
gauravnarchal
Post Prodigy
Post Prodigy

Measure - IF Condition for Text

Hello - I need your help to create a measure to find the text in the table and return a value based on the condition.

 

Condition - If "Table Exchange" has a value True return a value “Discounted” else Blank (No Value)

 

Thanks

Gaurav

 

 

Exchange
FALSE
TRUE
FALSE
FALSE
FALSE
FALSE
TRUE
TRUE
TRUE
TRUE
FALSE
FALSE
FALSE
TRUE
1 ACCEPTED SOLUTION

@gauravnarchal 

For a measure:

Measure 1 = IF( SELECTEDVALUE(Table[Offer is Selected]), "Discounted" )

If you need a column then,

Column 1 = IF( Table[Offer is Selected], "Discounted" )
Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

2 REPLIES 2
smpa01
Super User
Super User

Column = if('Table 1 (3)'[Exchange]=TRUE(),"Discounted",BLANK())

 

Capture.PNG

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs

@gauravnarchal 

For a measure:

Measure 1 = IF( SELECTEDVALUE(Table[Offer is Selected]), "Discounted" )

If you need a column then,

Column 1 = IF( Table[Offer is Selected], "Discounted" )
Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

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