Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
hemingt
Helper V
Helper V

how to filter slicer date

Hi Team,

 

I have a Slicer with all the Week number of total year.

I want to only show the Week number to current Week number, 

take an example, current week is 1914, I only show the Week number from 1901~1914 in the Slicer.

The displayed week number can be updated with the time going. We can see 1901~1915 in the Slicer next week.

Is it possible?  Thank you!

 

360279516437.jpg

1 ACCEPTED SOLUTION

HI, @hemingt 

 measure could not be dragged into the threshold.

For your requirement, you could try this way:

I defined a new measure Current_Week=WEEKNUM(TODAY(),2)

Add a column

New Column =IF( Closed_Week <= WEEKNUM(TODAY(),2) ,1 ,0 )

Then drag this new column into Page level filter and set is 1.

 

Best Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

10 REPLIES 10

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.