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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Solved! Go to Solution.
@Timmyyoungm
You should be able to just put the QuarterName in another visual. The slicer will automatically filter the value for the quartername for this first visual. For the previous quarter, you can make a measure like this:
PreviousQuarter =
CALCULATE(
MIN('Date'[QuarterName]),
DATEADD('Date'[Date], -1, QUARTER)
)
Hi @Timmyyoungm
PLease refer to sample file with the solution https://www.dropbox.com/t/stTqD016sOoBVw4D
You need to have a previous date table (just a shadow copy of the date table) with inactive relationship with the date table. Apologies for not being able to share screenshots as I already consumed my limit. Here is the measure code:
Sales Last 2 Quarters =
VAR RefDate = ENDOFQUARTER ( 'Date'[Date] )
VAR PreviousDates =
DATESINPERIOD ('Previous Dates'[Date], RefDate, - 2, QUARTER )
VAR Result =
CALCULATE (
[Sales Amount],
REMOVEFILTERS ( 'Date' ),
KEEPFILTERS ( PreviousDates ),
USERELATIONSHIP ( 'Date'[Date], 'Previous Dates'[Date] )
)
RETURN
Result
@Timmyyoungm
You should be able to just put the QuarterName in another visual. The slicer will automatically filter the value for the quartername for this first visual. For the previous quarter, you can make a measure like this:
PreviousQuarter =
CALCULATE(
MIN('Date'[QuarterName]),
DATEADD('Date'[Date], -1, QUARTER)
)
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 |
|---|---|
| 9 | |
| 9 | |
| 8 | |
| 6 | |
| 5 |
| User | Count |
|---|---|
| 23 | |
| 16 | |
| 15 | |
| 14 | |
| 8 |