Forum Discussion
Anonymous
8 years agoNot applicable
Show customer data for selected months
Hi Team I have a table with customer name, Month like 2018 07-Jul,Order id. Suppose I select Months as May, June and July(in the mentioned format 2018 07-Jul), I only want to show those customer ...
Stachu
Community Champion
8 years agotry putting this measure in the visual filter while filtering to TRUE
Measure =
VAR SelectedPeriods =
ALLSELECTED ( 'Table'[Month] )
VAR PeriodsPerCustomer =
SUMMARIZE ( 'Table', 'Table'[Month], 'Table'[Customer] )
RETURN
IF (
COUNTROWS ( SelectedPeriods ) = COUNTX (PeriodsPerCustomer, [Month] ),
TRUE,
FALSE
)