Forum Discussion
smstrickland
6 years agoHelper I
Help with DAX measure
My organization has two time entry systems. I have created a matrix that shows the total number of hours entered into each system, per project, that can be filtered by employee and pay period. A samp...
- 6 years ago
In that case, then somthing like this should work:
Measure = VAR __Table = SUMMARIZE( 'Table',[Project], "__Comp",[Comparison] ) RETURN IF(COUNTROWS(FILTER(__Table,[Comparison] <> 0)) = 0,"Good","Bad")
smstrickland
6 years agoHelper I
Greg_Deckler Thank you so much! This worked (and I marked it as a solution), but I would prefer for blanks to be considered "Bad." How should I change the IF statement to accomplish that?
Greg_Deckler
6 years agoCommunity Champion
smstrickland - Great! Not sure I follow though on your follow-up question.
Measure =
VAR __Table =
SUMMARIZE(
'Table',[Project],
"__Comp",[Comparison]
)
RETURN
IF(COUNTROWS(FILTER(__Table,[Comparison] <> 0)) = 0,"Bad","Good")
?
- smstrickland6 years agoHelper I
Greg_Deckler Never mind the last question, and thank you again for your help. --Shauna
- Greg_Deckler6 years agoCommunity ChampionNo problem! 🙂