Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Sunilrane
New Member

How to Calculate Percentage change for Average Price

Hi can anybody help me how to calculate percentage change for Average Price

I have calculated Average price by dividing Total Sales/Total Units

3 REPLIES 3
v-jayw-msft
Community Support
Community Support

Hi @Sunilrane ,

 

It's better to share some sample data so that we could create a demo to test the formula.

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
ValtteriN
Super User
Super User

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/





Did I answer your question? Mark my post as a solution!

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

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.