Forum Discussion
tkrupka
Resolver II
7 years agoDAX If And Filter
I am trying to figure out how to do this. Basically I am trying to write a DAX equation that will allow me to create a measure with multiple filters. I want to get the Tanks[Tank_Name] ...
- 7 years ago
Finally figured out what I wanted. I'm not sure why I was having such an issue.
Day_Tank_1 = CALCULATE(VALUES(Tanks[Tank_Name]),FILTER(Tanks,Tanks[Day_Tank]=TRUE()),FILTER(Tanks,Tanks[INDEX]=1))
tkrupka
Resolver II
7 years agoparry2kLet's say I wanted to get DC4-Tank A as my result.
The visuals are already set to a page filter of DC4, so that gets rid of the DC2 results.
If I filter to Day_Tank = TRUE, I now have seven results
Now the minimum value of INDEX of that filter would give me my expected result.