Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
Hi can anybody help me how to calculate percentage change for Average Price
I have calculated Average price by dividing Total Sales/Total Units
Hi @Sunilrane ,
It's better to share some sample data so that we could create a demo to test the formula.
Best Regards,
Jay
Hi,
I assume you want to compare the change e.g. to last year. In that case try this:
Average Price LY = CALCULATE([Average Price],SAMEPERIODLASTYEAR('Calendar'[Date]))
Difference = DIVIDE([Average Price]-[Average Price LY],[Average Price])
I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!
My LinkedIn: https://www.linkedin.com/in/n%C3%A4ttiahov-00001/
Proud to be a Super User!
Hi Thanks for the solution I again need some help for you so for the Date period I dont have the Date data in year or weeks instead I have the Period data in Latest 52, Latest 4 and Latest 3 Weeks so can you help how to go about it for the Latest Week time period.
Thanks and Regards,
Sunil Rane
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
29 | |
14 | |
11 | |
10 | |
9 |