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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

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
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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.