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 a report showing weekly sales data.
In the fact data table I have information about the customer, amount, and a week identifier (in text format, e.g., 2025-04).
The week is also added to a filter at the top of the page, allowing users to select which week to display.
I would like to ask if there is a way to set it so that the most recent week is always shown by default unless a user selects a different one?
Thanks in advance
Hi @DawK_si ,
Based on the testing, creating the new measure to filter the recent week.
Recent Week =
var _week = SELECTEDVALUE('Fact Table'[week identifier])
var _latest = CALCULATE(MAX('Fact Table'[week identifier]), ALLEXCEPT('Fact Table', 'Fact Table'[week identifier]))
RETURN
IF(_latest = _week, 1, 0)
Then, drag the measure to the table visual and set the show item is 1.
Besides, select the week slicer is shown below.
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hey @DawK_si,
Please check some suggestions from this thread:
https://community.fabric.microsoft.com/t5/Desktop/How-to-make-slicer-default-showing-latest-month-as...
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
142 | |
72 | |
62 | |
51 | |
48 |
User | Count |
---|---|
206 | |
90 | |
61 | |
59 | |
57 |