Forum Discussion
mukhan169
Helper III
7 years agoDax Adding filter to the measure
Good morning experts, I have a table with field MISGroup that contains 0,3,12 or 24 in it. For the following measure, how do I just add "where MISGroup=3" IPTV = IF(ISBLANK([Total By MIS]) ...
mukhan169
Helper III
7 years agoparry2k Thank you but
Only add 0 for MISGroup =3. Otherwise dont. So this one wont work.
Thanks for your reply
parry2k
Super User
7 years agomukhan169 try this
Sum Sales = VAR s = CALCULATE( SUM(Table[Sales]), Table[MISGroup]<>3) RETURN IF( ISBLANK(s), 0, s )
- mukhan1697 years ago
Helper III
parry2k thank you again.
I just tried this
IPTV Test = CALCULATE(TRUE()|Claims[MISGroup]=3)so I can later check for true or false in my if condition.It produces that result. I know I am missing something very basic. it should be false for 12. again greatly appriciate your help.- parry2k7 years ago
Super User
mukhan169 to be very honest, without looking at sample data it is very hard to provide the solution. If you can share sample data in excel will help a lot. It will save both of our time.
- mukhan1697 years ago
Helper III
I have sample data file loaded here
this is a very smart part of a bigger problem I am trying to solve.
its a chart for 3,12 and 24 MIS which are not supposed to cross over each other. I only want to apply formula for 3 mis group for now.