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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
yacheou
Frequent Visitor

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.


Go to My LinkedIn Page


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.


Go to My LinkedIn Page


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

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors