This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Dear All,
in my data model i have created some measures which contains DATESYTD.
That means I have a rolling measure that ends at the end of the year and restarts at the beginning of next year.
What I want is a measure that won't stop at the end of year but keeps rolling in the years after.
Should I replace DATESYTD with another function?
Solved! Go to Solution.
Hi @gianmarco ,
Here are the steps you can follow:
1. Create measure.
Sum_Measure =
SUMX(
FILTER(ALL('Table'),
'Table'[Date]<=MAX('Table'[Date])),[Value])
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @gianmarco ,
Here are the steps you can follow:
1. Create measure.
Sum_Measure =
SUMX(
FILTER(ALL('Table'),
'Table'[Date]<=MAX('Table'[Date])),[Value])
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Exactly what I needed!
Sounds like you need a Rolling Xmonths (i.e. 12 months) measure.
How to Calculate Rolling 12 Months in Power BI - Zebra BI
How to Calculate Rolling X Months in Power BI - Monocroft
Proud to be a Super User! | |
Check out the April 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 |
|---|---|
| 36 | |
| 29 | |
| 29 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 69 | |
| 39 | |
| 33 | |
| 24 | |
| 23 |