Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I am trying to create a measure to show the number of tests that were changed to testing complete last week. I have created a week column that has assigned all change dates a week number e.g. 14/10/2024 change date is week 42.
I have experimented with many different formats and do not seem to be getting anywhere:
Solved! Go to Solution.
@SimuQuery , Try using
LastWeekTestsCompleted =
VAR CurrentWeek = MAX('Project Test'[Week])
VAR LastWeek = CurrentWeek - 1
RETURN
CALCULATE(
[Project Test Completed],
'Project Test'[Week] = LastWeek
)
Proud to be a Super User! |
|
That worked a treat - thank you so much!
@SimuQuery , Try using
LastWeekTestsCompleted =
VAR CurrentWeek = MAX('Project Test'[Week])
VAR LastWeek = CurrentWeek - 1
RETURN
CALCULATE(
[Project Test Completed],
'Project Test'[Week] = LastWeek
)
Proud to be a Super User! |
|
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
9 | |
7 | |
5 | |
5 | |
5 |
User | Count |
---|---|
10 | |
8 | |
6 | |
6 | |
6 |