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

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

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