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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
hellgoingon
Helper II
Helper II

slicer - set default value is current week

Hi all,

 

I have table contain start-date is list of date. Now i drap&drop start-date into slicer and got below picture.

How can i do to setup default value for slicer is current week?

 

Example: when open report, 6/12/2017 and 6/18/2017 will be displayed as default in below image

 

6-16-2017 12-15-26 PM.png

1 REPLY 1
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @hellgoingon,

 

Because the values of table column is always fixed, they won't be automatically changed everyday. Also, we are not able to add measures into a slicer.

 

To work around your requirement, you could create two measures and a calendar table as below:

Week start = TODAY()-WEEKDAY(TODAY(),2)+1
Week End = TODAY()-WEEKDAY(TODAY(),2)+7

Date Table = CALENDAR([Week start],[Week End])

Add 'Date Table'[Date] into slicer.

 

Best regards,
Yuliana Gu

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.