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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
manoj_0911
Advocate V
Advocate V

How to Add Time Filter Along with Date Slicer for a DateTime Column in Power BI?

How to Add Time Filter Along with Date Slicer for a DateTime Column in Power BI?

 

Hi All,

I have a DateTime column in my data source (example: CreatedDateTime).

Currently, I am using this column to show a Date slicer in my Power BI report.

Now the customer requirement is:

👉 Along with Date filter, they also want to filter by Time (either exact time or time range).

Example scenarios:

  • Filter data between 10:00 AM – 12:00 PM

  • Or filter by specific hour (like 14:00 – 15:00)

What is the best practice to achieve this?

Any suggestions or best practices would be helpful.

Thanks in advance!

2 ACCEPTED SOLUTIONS
danextian
Super User
Super User

Hi @manoj_0911 

Power BI range slicer doesnt suppor time. If you have a time column add add to a range slicer, the values will be displayed as date. From your datetime, create new column by parsing both the date and start of hour as number.

danextian_0-1771395334593.png

 

Use date and start of hour columns in a  range slicer

danextian_1-1771395356492.png

Please see the attached pbix.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

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


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

View solution in original post

cengizhanarslan
Super User
Super User

Best practice is don’t use the raw DateTime column directly for this. Instead, split it into Date + Time components (or build a Time dimension) and use separate slicers.

_________________________________________________________
If this helped, ✓ Mark as Solution | Kudos appreciated
Connect on LinkedIn | Follow on Medium
AI-assisted tools are used solely for wording support. All conclusions are independently reviewed.

View solution in original post

5 REPLIES 5
v-kpoloju-msft
Community Support
Community Support

Hi @manoj_0911

Thank you for reaching out to the Microsoft Fabric Community Forum. Also, thanks to @cengizhanarslan@danextian@Irwan,  for those inputs on this thread.

Has your issue been resolved? If the response provided by the community member @cengizhanarslan@danextian@Irwan,  addressed your query, could you please confirm? It helps us ensure that the solutions provided are effective and beneficial for everyone.

Hope this helps clarify things and let me know what you find after giving these steps a try happy to help you investigate this further.

Thank you for using the Microsoft Community Forum.

Hi @manoj_0911,

Just wanted to follow up. If the shared guidance worked for you, that’s wonderful hopefully it also helps others looking for similar answers. If there’s anything else you'd like to explore or clarify, don’t hesitate to reach out.

Thank you.

cengizhanarslan
Super User
Super User

Best practice is don’t use the raw DateTime column directly for this. Instead, split it into Date + Time components (or build a Time dimension) and use separate slicers.

_________________________________________________________
If this helped, ✓ Mark as Solution | Kudos appreciated
Connect on LinkedIn | Follow on Medium
AI-assisted tools are used solely for wording support. All conclusions are independently reviewed.
danextian
Super User
Super User

Hi @manoj_0911 

Power BI range slicer doesnt suppor time. If you have a time column add add to a range slicer, the values will be displayed as date. From your datetime, create new column by parsing both the date and start of hour as number.

danextian_0-1771395334593.png

 

Use date and start of hour columns in a  range slicer

danextian_1-1771395356492.png

Please see the attached pbix.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

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


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
Irwan
Super User
Super User

hello @manoj_0911 

 

in between date slicer visual, it will only show a date even it is a datetime format unless you are using tile or dropdown or vertical list which you need to select one by one.

 

as for filtering using time, in my opinion the best is using filter pane since there is a time selection.

Irwan_1-1771384606699.pngIrwan_2-1771384727606.png

 

 

Hope this will help.

Thank you.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.