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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi,
I have a dataset similar to the below.
Date | Job ID | Job Hours | Percentage Achieved |
01/01/2022 | 1 | 100 | 10% |
02/01/2022 | 1 | 100 | 20% |
03/01/2022 | 1 | 100 | 50% |
I need to create a calculated colum showing the percentage difference from each job based upon the previous date entry.
Below is an example of the required outcome.
Date | Job ID | Job Hours | Percentage Achieved | Percentage Difference (Calculated column) |
01/01/2022 | 1 | 100 | 10% | 10% |
02/01/2022 | 1 | 100 | 20% | 10% |
03/01/2022 | 1 | 100 | 50% | 30% |
Any ideas on how this can be achieved?
Solved! Go to Solution.
@Anonymous Try this measure:
@Anonymous Try this measure:
First add an index column in Power Query.
Then add DAX column like below
Thanks for the quick response. How ever my dataset includes an abundence of jobs. For example, rows for 01/01/2022 could countain 50 jobs, indexing would not refer back to specific job ID's.