This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
What I am looking to do is when the slicer for date is selected my calculation looks at dates leading up to it including it to work out the QTR up to that date. The following calculation doesn't work;
LastQuarter_PCT =
CALCULATE(
AVERAGE(YourTable[YourValueColumn]),
FILTER(
ALL(YourTable[Date]),
YourTable[Date] = MAX(YourTable[Date]) &&
YourTable[Date] >= STARTOFQUARTER(MAX(YourTable[Date]), 0) &&
YourTable[EndDate] < STARTOFQUARTER(MAX(YourTable[Date]), 1)
)
)
Any advice be great.
@Infidti It would be great if you could share the sample input data (not the real data) along with expected output.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 28 | |
| 26 | |
| 25 | |
| 22 | |
| 13 |
| User | Count |
|---|---|
| 59 | |
| 50 | |
| 25 | |
| 20 | |
| 20 |