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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
hb0135
Helper III
Helper III

How to get display the current week automatically in power bi when the current week is added in data

Hello,
How to display the current week automatically in power bi when the current week is added in data , currently i am doing it manually from going in filters and un tick the perviuos week and adding the current week this should be done automatically.And there is no need to show pervious all week only currnt week value should be display
Please help for above.

BR
HB0135.

2 ACCEPTED SOLUTIONS
Ritaf1983
Super User
Super User

Hi @hb0135 

You can use a related date slicer and filter it by last week, more information is on the linked tutorial:

https://learn.microsoft.com/en-us/power-bi/visuals/desktop-slicer-filter-date-range

Or use a workaround with Dax, like on the linked video :

https://www.youtube.com/watch?v=lWx4VoCM55E

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

 

 

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

Hi @hb0135 
Filters work with exactly the same logic.

I created PBIX file with an example, you can download it from This link 

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

5 REPLIES 5
Ritaf1983
Super User
Super User

Hi @hb0135 

You can use a related date slicer and filter it by last week, more information is on the linked tutorial:

https://learn.microsoft.com/en-us/power-bi/visuals/desktop-slicer-filter-date-range

Or use a workaround with Dax, like on the linked video :

https://www.youtube.com/watch?v=lWx4VoCM55E

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

 

 

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Hello,
Thanks for response but i donot want current week to be showed un slicer i am using it in card as shown below currently i am working like this selecting the card

hb0135_10-1695700033791.png

 

 

 

hb0135_9-1695700006998.png

 

 

BR,
HB0315

 

 

Hi @hb0135 
Filters work with exactly the same logic.

I created PBIX file with an example, you can download it from This link 

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Hello,
Thanks for the help

Happy to help 🙂

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors