Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello,
I'm currently trying to create a new measure to find the difference of values between the current week ending date and the previous. The would be a running date, so it would always the difference between the most recent week ending date and the last.
The highlighted column is the desired output. Would you guys know how to best go about this?
Thank you in advance!
Hey @Anonymous ,
you can solve the "previous" value challenge using the DAX function OFFSET, I recommend reading these articles:
I think your description "... current week ending date and the previous ..." does not match the data of the screenshot, as the distance between the two dates is 24 days.
Hopefully the articles will help to tackle your challenge.
Thank you for the links! I went back and changed the dates to match what I actually meant. From week ending 11/25 to week ending 12/2
Hey @Anonymous ,
create a pbix that contains sample data, but still reflects your data model (tables, relationships, calculated columns, and measures). Uploade the pbix to OneDrive, Google Drive, or Dropbox and share the link. If you are using a spreadsheet to create the sample data instead the manual input method share the spreadsheet as well.
Explain the expected result based on the sample data you provide.
Regards,
Tom
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
79 | |
74 | |
58 | |
36 | |
31 |
User | Count |
---|---|
91 | |
59 | |
59 | |
49 | |
42 |