Forum Discussion
Filter Matrix Table by Sum of Measure by Row
Hi mahoneypat - thanks for your help!
The formula's are working as expected however, I ran into a problem because I ultimetly need the table to be filtered by 2 conditions -
Count of Months AND Count of Member ID
For example, I need to show "CM Name with a count of MemberID Greater Than or Equal to 4 for at least 3 months". In the screenshot below, I would need the highlighted area's filtered out since the Count of Member ID each month is less than 4.
Is there a formula that would account for filtering both the MemberID and Count of Months with specific conditions for each?
Thank you so much for your help
Try this measure expression as your visual level filter with "is 1".
CountofMonthFilter w Members =
IF (
CALCULATE (
DISTINCTCOUNT ( ProgressNotes[MonthNoteDate] ),
ALLEXCEPT ( ProgressNotes, ProgressNotes[CM Name] )
) >= 3
&& COUNT ( ProgressNotes[MemberID] ) >= 4,
1
)
Pat