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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
lucpaymetals
Frequent Visitor

Current week

Hello,

I am having some trouble.

I need a button that if you click on it, it will filter everything by the current week. I need current day to last 6 days.

Does anyone know how todo this. Is this even possible?

Thank you.

3 REPLIES 3
tackytechtom
Most Valuable Professional
Most Valuable Professional

Hi @lucpaymetals ,

 

You can add a column to your date dimension like the below (either as a calculated column or in Power Query):

tackytechtom_0-1675373950336.png

 

Then you can use that attribute in a slicer like below:

tackytechtom_1-1675374035018.png

 

 

tackytechtom_2-1675374052742.png

 

Or if you filter the slicer with just one value, you can actually change the slicer to the "Tile" style to get a button experience:

tackytechtom_3-1675374248196.png

tackytechtom_4-1675374270063.png

 

Let me know if this helps 🙂

 

/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/

 

 



Did I answer your question➡️ Please, mark my post as a solution ✔️

Also happily accepting Kudos 🙂

Feel free to connect with me on LinkedIn! linkedIn

#proudtobeasuperuser 

tackytechtom
Most Valuable Professional
Most Valuable Professional

Hi @lucpaymetals ,

 

You could add that logic to your date dimension as an additional column. After, you could use a slicer?

 

Would that work? 🙂

 

/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/



Did I answer your question➡️ Please, mark my post as a solution ✔️

Also happily accepting Kudos 🙂

Feel free to connect with me on LinkedIn! linkedIn

#proudtobeasuperuser 

I am not sure what you mean

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.