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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I had a year, month slicer. I need to show values(Measure) till the selected month in a matrix. If April 2022 is selected, the matrix should show values from 2022 Jan to April in the matrix.
Measure =
IF (HASONEVALUE ( Data[Category] ),
IF (
SELECTEDVALUE ( Data[Category] ) IN { "Phones", "Watches", "Shoes" },
AVERAGE ( Data[value] ),
SUM ( Data[value] )
))
Hi
Month name - Text(data type )
Rows - category
Columns - Month name, site
Values - Measure
hi @Prabha45
try like:
this is supposed to work with a date column.
Thanks. but, I don't have a date column. Only year,quarter,month are available.
hi @Prabha45
month in which format? month name or month number?
what rows and columns do you have the mentioned matrix?
Hi
Month name - Text( datatype)
Rows - Category
Columns - Month, Site
Values - Measure