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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Filter setting default on current week/month

Hi,

 

I have a report with a weeknumber dropdown filter from a calendar table. I would like it if the default filter would always be the current week. 

Now users need to activily change the filter each month/week while 90% of the time they are interested in the current week/month.

User should still be able to select the other weeks.

 

I was wondering if there is a possiblity to achieve this. 

I have an extended calendar table with week and month offsets. 

2 ACCEPTED SOLUTIONS
jdbuchanan71
Super User
Super User

@Anonymous 

You can add a column to your date table along these lines.

Week = 
VAR _Today = TODAY()
RETURN 
IF ( YEAR ( [Date] ) = YEAR ( _Today ) &&
    WEEKNUM ( [Date] ) = WEEKNUM ( _Today ),
    "Current Week",
    ***** whatever you normally show for month/week goes here *****
)

Then you put that column in your slicer and select "Current Week".  As the meaning of current week changes the date table will update and your report will shift with it.

View solution in original post

Anonymous
Not applicable

@Anonymous 
You can create a weeknumber column, and then just use the TOP N filter on the visual with this weeknumber column. So the visual will displays the latest week data, and also allows you select other weeks on the slicer.

 

 

V-pazhen-msft_0-1615353910194.png

 


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

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

@Anonymous 
You can create a weeknumber column, and then just use the TOP N filter on the visual with this weeknumber column. So the visual will displays the latest week data, and also allows you select other weeks on the slicer.

 

 

V-pazhen-msft_0-1615353910194.png

 


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

 

jdbuchanan71
Super User
Super User

@Anonymous 

You can add a column to your date table along these lines.

Week = 
VAR _Today = TODAY()
RETURN 
IF ( YEAR ( [Date] ) = YEAR ( _Today ) &&
    WEEKNUM ( [Date] ) = WEEKNUM ( _Today ),
    "Current Week",
    ***** whatever you normally show for month/week goes here *****
)

Then you put that column in your slicer and select "Current Week".  As the meaning of current week changes the date table will update and your report will shift with it.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors