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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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.


Visit my LinkedIn page by clicking here.


Schedule a meeting with me to discuss further by clicking here.

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.


Visit my LinkedIn page by clicking here.


Schedule a meeting with me to discuss further by clicking here.

Anonymous
Not applicable

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

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!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.