Join 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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have a slicer of a date column but every day is on the 1st like
| Month-Year |
| 1/1/2023 |
| 2/1/2023 |
| 3/1/2023 |
| 4/1/2023 |
| 5/1/2023 |
So I want the slicer to be a date hierarchy of Year and Month only:
Then I have a measure to calculate a total of a column based off slicer selection, but it's not allowing me to select multple values.
Online Revenue =
VAR SelDates =
SELECTEDVALUE( Table[Month-Year] )
VAR Revenue =
CALCULATE(
SUM( Table[Revenue] ),
AND( Table[Month-Year] = SelDates,
Table[Type] = "Online" )
)
RETURN
Revenue
Solved! Go to Solution.
Hi @deannapi
you create to measure something like this: replace the correct column name with yours
Did I answer your question if not please provide more details? if yes please Mark my post as a solution! Appreciate your Kudos!!
Check for more intersing solution here: https://www.youtube.com/@letssolveproblem
Regards
Hi @deannapi
you create to measure something like this: replace the correct column name with yours
Did I answer your question if not please provide more details? if yes please Mark my post as a solution! Appreciate your Kudos!!
Check for more intersing solution here: https://www.youtube.com/@letssolveproblem
Regards
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 33 | |
| 31 | |
| 20 | |
| 12 | |
| 11 |