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
Hi, i'm having a sikmple issue, I get the right value with my measure Total actual consolidated, when I add the Year in column, i get the right output, but i d'ont know how to calculate YOY, with the calculate function, and group calculation some row from the Subtotal measure are missing, i dont know why. Any help is much welcomed
2
Thks a lot
Solved! Go to Solution.
Hi @Anonymous
You can use "SAMEPERIODLASTYEAR" to get the sales for the same period last year.
For example:
Calculate the year-on-year value:
PY Sales = CALCULATE([Sales Amount], SAMEPERIODLASTYEAR('Date'[Date]))
Calculate YOY growth rate:
YOY Growth = DIVIDE([Sales Amount] - [PY Sales], [PY Sales])
Best Regards,
Jayleny
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous
You can use "SAMEPERIODLASTYEAR" to get the sales for the same period last year.
For example:
Calculate the year-on-year value:
PY Sales = CALCULATE([Sales Amount], SAMEPERIODLASTYEAR('Date'[Date]))
Calculate YOY growth rate:
YOY Growth = DIVIDE([Sales Amount] - [PY Sales], [PY Sales])
Best Regards,
Jayleny
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
|---|---|
| 12 | |
| 9 | |
| 8 | |
| 5 | |
| 3 |
| User | Count |
|---|---|
| 28 | |
| 21 | |
| 20 | |
| 18 | |
| 12 |