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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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.

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.

 

 

 

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.

Hello,
Thanks for the help

Happy to help 🙂

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

Top Solution Authors