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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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.

1 ACCEPTED SOLUTION

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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