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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
efhache
Frequent Visitor

relative slicer for timestamp (date and time)

I have a table with a timestamp field as shown below.

efhache_0-1614860213536.png

 

I would like to create a 'slicer' to display only the data based on a relative timestamp:
all the entries for which the 'start' column is between day D 6h00 and day D+1 05h59 (i.e. a total of 24 hours).

I can make a slicer on date or time independently but I can't find how to really have the desired range of 24h.

Someone can explain me how to do?   Wouldn't there be other solutions than to create a column with a -6h time switch to use a D and D+1 filter?

1 ACCEPTED SOLUTION
efhache
Frequent Visitor

ok, so the workaround is a substract 6h to do a switch  and then filter on date. Not really happy with this approach but it finally works.

View solution in original post

3 REPLIES 3
efhache
Frequent Visitor

ok, so the workaround is a substract 6h to do a switch  and then filter on date. Not really happy with this approach but it finally works.

One cannot view data from 2 different days using the relative time slicer, is it?

For example: If I need to view last 24 hours of data and currently I am able to view only the data from today and not yesterday's data

amitchandak
Super User
Super User

@efhache , In power bi You have a relative date slicer and relative time slicer, not both together

https://docs.microsoft.com/en-us/power-bi/visuals/desktop-slicer-filter-date-range

https://docs.microsoft.com/en-us/power-bi/create-reports/slicer-filter-relative-time

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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