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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
hb0135
Helper II
Helper II

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.