Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
10 | |
6 |