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
GBDonti
New Member

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
GBDonti
New Member

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
Super User
Super User

@GBDonti 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.


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

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.