Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hello,
I have created a measure in a report which has the following formula:
Hello @selimovd , If you notice in this report ( https://ufile.io/43358l6h) , I have tables Data and H linked by the columns C1 and Column3 (picture 1) .
I have created a measure with the code: Measure1 = if ( max(Data[C4])= "Details 4", "External" ,"Internal")
If I add this measure in the table visual then the data from table D will not be filtered anymore - the data from Column3 table H) is filtered for Leaf1, which is the selected value (picture 2).
if I remove the measure from the table visual then it will get filtered (picture3).
1.
2.
3.
Thank you.
Hey @Anonymous ,
the reason is how the DAX engine works.
The formula will be applied for all rows. Usually if the value is blank, then the row will not be shown. That's what you usually want.
In your case, the measure will return "Internal" in any case when max(Data[C4]) does not equal "Details 4". This also applies for all rows that return blank. So you have to only return a value when max(Data[C4]) is not blank. Try the following measure:
Measure1 = IF ( MAX ( Data[C4] ) <> BLANK(), IF ( MAX ( Data[C4] ) = "Details 4", "External" , "Internal" ) )
Hey @Anonymous ,
your file doesn't fit your problem.
Please add the correct file and insert or post here the measure that you can just paste to reproduce your error.
In general, I never heard of a measure breaking a report.