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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.