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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
waydec
Frequent Visitor

Date and time filtering

Hi,

 

I'm looking for a way to show information for a user selectable period using a single datetime field.  This datetime field shows the date and time that a job was created in our job management system.    Using this datetime field I want to be able to select a datetime from and to range, i.e. the start date and the start time as well as the end date and end time.  There is a requirement to be able to filter on the time component given the nature of our reporting needs.  The existing Power BI stock visuals do not have a visual with this ability so I'm wondering if there is a way of doing this through DAX, custom visuals or otherwise..

 

Any help will be greatly appreciated.

 

Kind regards,

Wayde

1 ACCEPTED SOLUTION
waydec
Frequent Visitor

Hi Ibendlin,

 

Perhaps I was not clear on what I'm looking for but for now I've solved my own issue by copying the datetime column to a new column in the same table, changing the datatype of the new column to a decimal with 4 decimal places and using the decimal number in the new column to filter out the data for the datetime from and to periods I need.  I will build a converter table that looks up the actual date and time the date time serial number represents to make it easier for the users.

 

Thanks for your help.

Waydec

 

View solution in original post

2 REPLIES 2
waydec
Frequent Visitor

Hi Ibendlin,

 

Perhaps I was not clear on what I'm looking for but for now I've solved my own issue by copying the datetime column to a new column in the same table, changing the datatype of the new column to a decimal with 4 decimal places and using the decimal number in the new column to filter out the data for the datetime from and to periods I need.  I will build a converter table that looks up the actual date and time the date time serial number represents to make it easier for the users.

 

Thanks for your help.

Waydec

 

lbendlin
Super User
Super User

Enable "Allow users to change filter types"  and teach your users how to use the filter pane. That will give you exactly the functionality you are looking for.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.