Forum Discussion
Multi Select Slicer
- 8 years ago
Hi Selwynster,
Please try a measure like below.
Measure = VAR actualAmount = CALCULATE ( DISTINCTCOUNT ( Table1[Value] ), ALLSELECTED ( Table1[Value] ) ) VAR selectedValues = CALCULATE ( DISTINCTCOUNT ( Table1[Value] ), ALLSELECTED ( Table1[Value] ), ALL ( Table1[Attribute] ) ) RETURN IF ( actualAmount = selectedValues, 1, 0 )Best Regards,
Dale
Hi Selwynster,
Please try a measure like below.
Measure =
VAR actualAmount =
CALCULATE ( DISTINCTCOUNT ( Table1[Value] ), ALLSELECTED ( Table1[Value] ) )
VAR selectedValues =
CALCULATE (
DISTINCTCOUNT ( Table1[Value] ),
ALLSELECTED ( Table1[Value] ),
ALL ( Table1[Attribute] )
)
RETURN
IF ( actualAmount = selectedValues, 1, 0 )
Best Regards,
Dale
- Selwynster8 years ago
Helper II
Wow, this works amazingly.
Thanks :smileyhappy:
- Anonymous7 years agoNot applicable
Hi v-jiascu-msft,
I have a silmilar issue, I tried the DAX you provided in this post but did not work for me. I have a map connected to the data and when I make a multiple selection, I want the selections made to display using AND feature and pop up in the map. Also I want the list of those to be displayed in a table. And the map color to be changed based on the filter selection combination (different color for different combination). I appreciate your support on this. Thank you.
- v-jiascu-msft7 years ago
Microsoft Employee
Hi Anonymous,
I would suggest you create a new post in this forum. It looks like a different scenario.
Best Regards,
- Anonymous7 years agoNot applicable
Thanks. Will do.