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!View all the Fabric Data Days sessions on demand. View schedule
How to get the same period YTDs across any previous years in a single formula.
ie. across a Matrix like this, i want the June YTDs across all years :
Solved! Go to Solution.
I inserted it in the answer below.
It was this:
***************************************************
Hello @Antmkjr how are you?
would it be like this?
Did I solve your problem?
Please mark as solution so others can find this solution.
https://www.linkedin.com/in/rodrigosanpbi/
can you share the formula
I inserted it in the answer below.
It was this:
***************************************************
Would you mind attaching the pbix as well?
No I only want June YTD for all the years, ie. 2022 june YTD, 2021 June YTD,2020 June YTD etc in a single formula
I didn't understand the application very well.
This result can be obtained from the filter.
Could you contextualize the objective?
Did I solve your problem?
Please mark as solution so others can find this solution.
https://www.linkedin.com/in/rodrigosanpbi/
Yes , but every month it should calculate automatically, so for next month it should calculate YTD August across all years, and then Sept YTD across all years so on.
See if this is it:
***************************************************
Did I solve your problem?
Please mark as solution so others can find this solution.
https://www.linkedin.com/in/rodrigosanpbi/
Could you pls attach the pbix?
Of course, here's the link: https://easyupload.io/z0udod
This is my test file.
These are fictitious data.
Did I solve your problem?
Please mark as solution so others can find this solution.
https://www.linkedin.com/in/rodrigosanpbi/
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 |
|---|---|
| 18 | |
| 11 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 31 | |
| 26 | |
| 21 | |
| 13 | |
| 12 |