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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
subho220
Helper I
Helper I

IF DAX measure

I am trying to create a measure Like---- IF( Table[Reportable Result] ="Something", true,false). But this Reportable result column is not coming up after IF. Its a field coming from csv file. Can anyone tell why?

 

subho220_0-1599143310187.png

 

1 ACCEPTED SOLUTION
v-lili6-msft
Community Support
Community Support

hi  @subho220 

First, you should know that:

1. Calculation column/table not support dynamic changed based on filter or slicer.
2. Measure can be affected by filter/slicer, so you can use it to get dynamic summary result in a visual by its row context.

https://www.sqlbi.com/articles/calculated-columns-and-measures-in-dax/

 

Second, for your requriement, you could use this formula to create a meausre

Measure = IF( MIN(Table[Reportable Result]) ="Something", true,false)

 

Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-lili6-msft
Community Support
Community Support

hi  @subho220 

First, you should know that:

1. Calculation column/table not support dynamic changed based on filter or slicer.
2. Measure can be affected by filter/slicer, so you can use it to get dynamic summary result in a visual by its row context.

https://www.sqlbi.com/articles/calculated-columns-and-measures-in-dax/

 

Second, for your requriement, you could use this formula to create a meausre

Measure = IF( MIN(Table[Reportable Result]) ="Something", true,false)

 

Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
Super User
Super User

@subho220 , I a measure you have to try like

IF( max(Table[Reportable Result]) ="Something", true,false)

 

and it will depend on row context

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.