Forum Discussion
dalmn21
3 years agoFrequent Visitor
IF Statement
Hi, I am fairly new to DAX and spent some time finding ways to fix my issue before posting here! I am wanting to create a measure to put into a scorecard that shows the percent change depending o...
Greg_Deckler
3 years agoCommunity Champion
dalmn21 Maybe:
Measure = IF(MAX(Main[Name]) = "ABC", Main[Eq_ABC], Main[Eq_DEF])dalmn21
3 years agoFrequent Visitor
- Greg_Deckler3 years agoCommunity Champion
dalmn21 If that is a measure ( [Name] ), then just drop the MAX and reference the measure directly (no need to specify the table). Otherwise, you could try MAXX which accepts a table expression.