Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
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.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.