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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.