Forum Discussion
mithiladas02
Helper I
4 years agoHow to i select multiple items in slicer
Hi, i am using the below dax for slicer. But i am not able to select multiple items at a time. It is showing only 1 like A or B or C. how can i select A,B,C at a time. In formating i select milti...
- Anonymous4 years ago
Hi mithiladas02 ,
You could use selectedmeasurename() function.
Create a slicer table contains the measure names you are using and add the below part of formula to the measures.
IF(SELECTEDMEASURENAME() in VALUES(slicer[slicer]).
For example:
_avg = IF(SELECTEDMEASURENAME() in VALUES(slicer[slicer]), AVERAGE('Table'[value])) _max = IF(SELECTEDMEASURENAME() in VALUES(slicer[slicer]), MAX('Table'[value])) _min = IF(SELECTEDMEASURENAME() in VALUES(slicer[slicer]), MIN('Table'[value])) _sum = IF(SELECTEDMEASURENAME() in VALUES(slicer[slicer]), SUM('Table'[value]))Best Regards,
Jay
Nathaniel_C
Community Champion
4 years agoHi mithiladas02 ,
You don't give us enough information to solve this, but have you tried CTRL key along with your choices?
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos πare nice too.
Nathaniel
mithiladas02
Helper I
4 years agoYes i tried. i made a dynamic line chart where i have created measure for slicer. on this measure i am not able to select multiple item to show the compare in line chart.