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

How to get current week selected on slicer with previous week options on loading report

Dear Team,

 

I have a data that is submitted weekly and saved in sharepoint list with every friday(weekdate). I want to show the utilisation dashboard based on the week submitted by default. I need to create a filter option for previous dates and defult date should be selected and based on the defult date remaining visuals should change by defult.

2 REPLIES 2
Anonymous
Not applicable

Hi, I would like to add this image for refernce. every time when we open the report it should get select the last week as per image. is this possible in slicer or do i need to go to anyother visual to do this.

 

GBDonti_0-1663758962374.png

 

Greg_Deckler
Community Champion
Community Champion

@Anonymous So most often this is done with a column that compares YEAR and WEEKNUM of a Date column with YEAR and WEEKNUM for TODAY. If they are the same, the row gets "Currrent Week". A value of "Previous Week" is given if the WEEKNUM is 1 off. You use this column in a slicer. Having a bit of trouble following exactly.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

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.