Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have a report which has Month Unit, Month Sales, Qtr Unit, Qtr Sales, Year Unit and Unit Sales.The report has slicers for Month, Qtr and Year.
The measure created for the Month sales is;
Hi @Avivek,
Please confirm if this is your expected output:
Let's say you select month JAN and FEB, year 2014 and no selection for Quarter.
Month Sales = Sales for 2014 JAN + 2014 FEB
Quarter sales = Sales for all 2014 1Q
Year Sales = Sales for all 2014
Is this what you want? If not detail further.
Regards,
Hi @Avivek ,
What about using ALLSELECTED like below:
MONTH SALES =
CALCULATE ( [Sales Amount], ALLSELECTED ( 'Date'[Month Name] ) )
Regards,
WHy not create a date calendar with Year, Quarter and Month as Columns.
Then link your date calendar to you sales table on Date column.
Then create slicers on the Year / Qrtr / Month column of the date table
It saves you the trouble of working with DAX
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 98 | |
| 72 | |
| 50 | |
| 49 | |
| 42 |