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! Request now

Reply
Anonymous
Not applicable

Creating a duration slicer?

Hi, 

 

Is there a way how to create a duration slicer? As of now, I can only use this: 

AndrejBI_0-1607679551507.png

I would like to change it to a slider, yet this happens when I do it:

AndrejBI_1-1607679585676.png

 

2 REPLIES 2
v-jingzhang
Community Support
Community Support

Hi @Anonymous 

 

Currently a range slider slicer only supports Date/numeric inputs. And when it is used to display or set a range of dates, the dates display in the Short Date format. In addition, Power BI Desktop doesn't support Duration Time data type in the model.

 

So if you want to use a range slider slicer, you could add a column to convert the Duration column to a numeric data type column (Duration in Seconds/Minutes/...) as a workaround.

 

Otherwise, if you want to remain the Duration Time format, you could refer to this blog. However in this way, this column cannot be used in a range slider slicer because it is in Text type.

 

Here are some related ideas you may vote for:

Microsoft Idea · field of "duration" type (powerbi.com)

Microsoft Idea · Display duration in hh:mm:ss (powerbi.com)

 

Best Regards,
Community Support Team _ Jing Zhang
If this post helps, please consider Accept it as the solution to help other members find it.

negi007
Community Champion
Community Champion

@Anonymous  You can group your time values using Bin feature. Right click on your time value column and select group

 

negi007_0-1607692422166.png

 

Once you have group column created, first change the data type to time only and then use it in the slicer like below. As you change the slicer value, accordingly on the right visual, values are being filtered.

 

negi007_1-1607692515494.png

 

The above solution should work with you and it will also get dynamically updated as more data added in the table

 




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



Proud to be a Super User!


Follow me on linkedin

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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
Top Kudoed Authors