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! Request now

Reply
Syndicate_Admin
Administrator
Administrator

Set Filter to Default

Good day everyone.

I have a dashboard in PowerBi that contains a filter with all the weeks of the year and I need this filter to always have the current week filtered when the report starts.

As an example:

Pablo_3000_0-1737711226154.png

In the image you can see the filter in question, being today 01/24/2025, the week of the year is the 4th.

Under these conditions, the filter should have 4 enabled as the default value.

Thank you all very much

Pablo

1 ACCEPTED SOLUTION

Hi @Syndicate_Admin 

Or try this

 

Current Week =
var Currweek= WEEKNUM(TODAY(),1)
Var Curryear= YEAR(TODAY())
var Final= IF('Calendar'[WeekNo.]= Currweek && 'Calendar'[Year]= Curryear," Latest Week", "Week " &CONVERT('Calendar'[WeekNo.], STRING))
RETURN Final
 
Uzi2019_0-1737712448356.png

 

I hope this would get what you are looking for.
 
 
Don't forget to give thumbs up and accept this as a solution if it helped you!!!

View solution in original post

3 REPLIES 3
Uzi2019
Super User
Super User

Hi @Syndicate_Admin 

Check this blog

https://community.fabric.microsoft.com/t5/Desktop/Filter-setting-default-on-current-week-month/m-p/1...

 

https://community.fabric.microsoft.com/t5/Desktop/how-to-set-the-current-month-to-be-shown-automatic...

 

I hope I answered your question!

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Hi @Syndicate_Admin 

Or try this

 

Current Week =
var Currweek= WEEKNUM(TODAY(),1)
Var Curryear= YEAR(TODAY())
var Final= IF('Calendar'[WeekNo.]= Currweek && 'Calendar'[Year]= Curryear," Latest Week", "Week " &CONVERT('Calendar'[WeekNo.], STRING))
RETURN Final
 
Uzi2019_0-1737712448356.png

 

I hope this would get what you are looking for.
 
 
Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Hi @Syndicate_Admin 

 

check this video

https://www.youtube.com/watch?v=FPQ6DohK6Pw&t=149s

just change Month to week level indax.

 

 

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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