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 table which has 2 dates... a maintenance date and a closed date. I was able to derive the month, year and quarter out of these dates for each mainetenance date and closed date.
Now, I have to create a measure to get the sum of sales where Maintenance date and closed date of the accounts falls in a particular QTR. This QTR (a regular Calendar Date FY QTR format) is supposed to be a sigle select Filter which will have Qtr selection between last 2 years and current FY .
Is there a way i can get the date in there to compare and what DAX function should i use.
For Example: if I select the Filter slicer FY 2020 Q1: i need to get the sum of sales where the Closed end date and the Maintenance end date Qtr is same as the selected FY Qtr.
Hi @BItoken ,
Has your problem been solved? Was my reply helpful to you? If the problem is resolved, you could accept the reply you like.
Hi @BItoken .
I created a sample, not sure if it meets your needs.
Here is my sample file for your reference.
@BItoken , You can join your dates to a single date table. If the part of the same table only one will ve active. Others you can activate using userelation
Thanks for your reply.
I have joined the cliosed end date and maintenance end date in my main view to the dimdate by creating an alias.
My issue here is i need a regular Date Qtr as a filter int he report to display data where both these dates match the selected date and get the sum.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 79 | |
| 38 | |
| 31 | |
| 27 | |
| 27 |