Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi All,
I have created two book marks
1. Last week
2. Select week
By default, the "Last week" bookmark is selected, but users can choose the "Select week" bookmark to view data for other weeks.
For the "Last week" bookmark, I’ve created a calculated column to display the details of the previous week. However, it seems that when I move into a new week, the "Last week" bookmark still displays data for the week when the bookmark was first created, rather than updating dynamically. I need the "Last week" bookmark to automatically adjust and reflect the most recent complete week’s data.
I can’t use the Relative Date filter, as my week starts on Thursday and ends on Wednesday. For instance, when it’s the current week (week of 19th - 25th Dec), the "Last week" bookmark should show data for 12th - 18th Dec. When we transition to 26th Dec, I want the bookmark to dynamically update and show data for the week of 19th - 25th Dec.
Please help me with the workaround, and appreciated your assistance.
Hi @RKK ,
For your problem, it may be a problem with the calculation column, we try to create a new calculation column to test hope it will help you!
IsLastWeek =
VAR TodayDate =TODAY()
VAR CurrentWeekStart = TodayDate - MOD(WEEKDAY(TodayDate, 2) + 3, 7)
VAR LastWeekStart = CurrentWeekStart - 7
VAR LastWeekEnd = CurrentWeekStart - 1
RETURN
IF('Table'[Date] >= LastWeekStart && 'Table'[Date] <= LastWeekEnd, 1, 0)
We hereby change the date to December 26th can fulfill your needs, hope it will be helpful to you!
Check out my pbix file if you still have questions, hope it helps!
Hope it helps!
Best regards,
Community Support Team_ Tom Shen
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
124 | |
79 | |
49 | |
38 | |
37 |
User | Count |
---|---|
196 | |
80 | |
70 | |
51 | |
42 |