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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
jwesle
Frequent Visitor

Week Over Week Percentage Changes

Hello,

 

I have a table that stores a savings information for a worker by week (Columns are "Name", "Week Date", and "Savings").  I am able to display the data as follows:

Name4/20/20195/4/20195/11/20195/18/2019
Larry$187.20$192.50$187.40$155.70
George$254.60$222.70$255.10$301.40
Bob$188.60$150.80$120.40$135.20
Wendy$354.10$401.20$358.40$311.50

 

I would like to calculate the week-over-week percentage changes for each worker and display in the following manner:

 4/20/20195/4/20195/11/20195/18/2019
NameSavings% ChangeSavings% ChangeSavings% ChangeSavings% Change
Larry$187.20N/A$192.503%$187.40-3%$155.70-17%
George$254.60N/A$222.70-13%$255.1015%$301.4018%
Bob$188.60N/A$150.80-20%$120.40-20%$135.2012%
Wendy$354.10N/A$401.2013%$358.40-11%$311.50-13%

 

I'm having difficulty creating the measure needed for this. Any advice?

 

Thanks!

1 REPLY 1
TomMartens
Super User
Super User

Hey,

 

maybe you are already aware of this article: https://www.daxpatterns.com/time-patterns/

 

This is a great start of date/time related calculations in Power BI.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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