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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.