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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Date Filter -7 Days, +7 Days from Selected Date on Slicer

Hi Everyone,

 

I was thinking of creating a dashboard with previous (-7 days) and forward (+7 days) from the selected date on the slicer.

 

 

For example:

 

When a user selects a date on the slicer (17th August 2022), as such:

 

yacheou_0-1661407835776.png

 

The table will display previous (-7 days) and forward (+7 days) from the selected date, as such:

 

yacheou_1-1661407935620.png

 

May I know if there is a way to achieve this result in Power BI?

 

 

Thank you in advance.

 

1 ACCEPTED SOLUTION
Jihwan_Kim
Super User
Super User

Hi,

One of ways to achieve this is to have disconnected slicer table like the below, and add the measure into the Filters section.

Please check the below picture and the attached pbix file.

The measure is in the attached pbix file.

 

Picture3.png


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

View solution in original post

2 REPLIES 2
Jihwan_Kim
Super User
Super User

Hi,

One of ways to achieve this is to have disconnected slicer table like the below, and add the measure into the Filters section.

Please check the below picture and the attached pbix file.

The measure is in the attached pbix file.

 

Picture3.png


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.
Anonymous
Not applicable

Thank you very much @Jihwan_Kim , the solution works for me very well.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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