Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hai Dax pro people's need your help
I have a table called tracking file it is having projects amounts datarequirement is
If user 2021 from year slicer they want to
PY(2020) value ,CY(2021) value,NY(2022) Value
Please help to achive this
Hi @AlanP514 ,
You can refer to this blog. Create PY and NY measures according to the formulas involved:
https://blog.enterprisedna.co/financial-year-dynamic-filtering-in-power-bi-reports/
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
it is not clear :
next year is a partial, you want to compare it with complete previous year or with the same partial (ex. till 11/04)?
With the same partial
I have a table called tracking file it is having projects amounts datarequirement is
If user select 2021 from year slicer they want to see
PY(2020) value ,CY(2021) value,NY(2022) Value
Please help to achive this
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 23 | |
| 21 | |
| 17 | |
| 14 |
| User | Count |
|---|---|
| 58 | |
| 50 | |
| 37 | |
| 29 | |
| 24 |