Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hi,
I have a date Slicer which has all the Date column and I have formatted date to Month to be used on Slicer
I would like to have a measure for every time the user selects Month Slicer to count and add total so for this one will be 2 because the user has selected to Month on Month slicer. Thank you in advance
Date Month (Formatted month from date column)
01/2/2020 February2020
3/4/1960 April1960
Solved! Go to Solution.
Hi @MYDATASTORY ,
You could use ALLSELECTED() to get the status of slicer. Here is the measure for your reference.
Measure =
IF (
ISFILTERED ( 'Table'[Month] ),
COUNTROWS ( ALLSELECTED ( 'Table'[Month] ) ),
0
)
Hi @MYDATASTORY ,
You could use ALLSELECTED() to get the status of slicer. Here is the measure for your reference.
Measure =
IF (
ISFILTERED ( 'Table'[Month] ),
COUNTROWS ( ALLSELECTED ( 'Table'[Month] ) ),
0
)
Do you just want the count of months the user has selected? If so, you can make this measure and put it in a card visual, replacing Table with your actual table name that has the Month column.
Months Selected = DISTINCTCOUNT(Table[Month])
If this works for you, please mark it as the solution. Kudos are appreciated too. Please let me know if not.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 78 | |
| 48 | |
| 34 | |
| 31 | |
| 29 |