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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
mebg123
Helper I
Helper I

Time Range Slider / Slicer

Hello,

 

I know this question has appeared on the community, but the answers seem a little outdated (8 plus years ago), so I'll post this in order to get an updated answer.

 

I need a simple task but it seems complex with the available tools PBI has: I need to create a time range slicer from a single Time column.

 

So basically I need to be able to use the slicer/slider object to filter between two times that come from a single column named Time. 

 

I do not want to filter relative times, just to be able to filter between two times.

 

@Greg_Deckler @MFelix 

 

Thanks in advance!

4 REPLIES 4
MFelix
Super User
Super User

Hi @mebg123 ,

 

To do this you need to do a workaround. Add a new colum to your model with the whole number of the time similar to this:

 

MFelix_1-1709853813998.png

Now format that column like this 00:00:

MFelix_2-1709853853553.png

 

You can now use that column in a slicer:

MFelix_3-1709853872904.png

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Thanks @MFelix , it works! But the only thing is that if i move the slicer I get odd numbers such as 11:78, which are unreal. Is there a way that i get only valid (existing) values in the slicer?

mebg123
Helper I
Helper I

That extension is only for date ranges, I need TIME ranges. Eg. from 10am to 12.50 pm

miTutorials
Super User
Super User

Do try out the Date Picker custom visual from Truviz..

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.