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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
northshorehiker
New Member

Multiple copies of visual, each filtered by date relative to slicer

Hi there--

 

I'm looking at using the "at Timeline" visual from Pragmatic Works to show eight days worth of status logs. I'd like to select a single date in a slicer and have the top visual display data for the selected date, visual #2 to display data for one day after the selected date, visual #3 for two days after the selected date and so on... 

 

I managed to create a dynamic column which contains the number of days between that row's date and the date selected in the slicer, but using that column as a visual-level filter doesn't seem to override the existing filter to show all start / end dates. (These columns are used in the visual, and so can't be removed from the visual-level filters.)

 

Is there any way to make this work?

1 ACCEPTED SOLUTION
v-frfei-msft
Community Support
Community Support

Hi @northshorehiker ,

 

As we know, the data in calculated column is not dynamic based on the slicer value. So it is hard to achieve your goal. Here I create a sample for your reference as a workaround.

 

1. Cretae a slicer calculated table.

 

Slicer = CALENDARAUTO()

2. Create a measure as below and make the visual filtered by the measure.

 

Measure = var _sele = SELECTEDVALUE('Slicer'[Date])
var _date1 = MAX('Table1'[Date])
return
IF(_date1>=_sele && _date1<=(_sele+7),1,0)

 

 

Capture.PNG

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

1 REPLY 1
v-frfei-msft
Community Support
Community Support

Hi @northshorehiker ,

 

As we know, the data in calculated column is not dynamic based on the slicer value. So it is hard to achieve your goal. Here I create a sample for your reference as a workaround.

 

1. Cretae a slicer calculated table.

 

Slicer = CALENDARAUTO()

2. Create a measure as below and make the visual filtered by the measure.

 

Measure = var _sele = SELECTEDVALUE('Slicer'[Date])
var _date1 = MAX('Table1'[Date])
return
IF(_date1>=_sele && _date1<=(_sele+7),1,0)

 

 

Capture.PNG

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors