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
opticshrew
Resolver II
Resolver II

Filtering on times

Hi all,

 

Having a little issue here....

 

Pbi Ref.png

 

I essentially want to say that at time x , ID will be in Location y.

(e.g. At 11:00am I know that ID 1 is in location 1)

 

I could filter on Time In or Time Out however I can't say that at a time between these ID will be in location.

 

I was thinking I could find all times between Time In and Out and then unpivot to rows however that would just create loads more rows to load. (link with a time table)

 

Any ideas folks?

 

Thanks,

J

1 ACCEPTED SOLUTION

okay so you want to check out the new August product release video - where it demos the new range slicer....  it creates a measure that has values that you can use.... just watched it myself.  can't help you further in this as it is new to me but check it out and then see if it advances your cause......

www.CahabaData.com

View solution in original post

4 REPLIES 4
CahabaData
Memorable Member
Memorable Member

For ID1 (and potentially for a unique Date); 

 

TimeX   (in this case 11:00)

 

TimeX>= TimeIn AND TimeX<= TimeOut

 

one presumes only 1 record satisfies that case and it has a Location = 1

 

this is just the logic, not the DAX statements (which would depend on the tables)  but a time field is able to do this style logic.

www.CahabaData.com

Hi @CahabaData

 

Thanks for replying 🙂 

 

I understand the logic you mentioned, my difficulty is now how would I filter that in a report.

 

For example I would like a slicer as follows:

 

TimeSlicer.PNG

I would use the above slicer to identify the hours and then a seperate (or inclusive if I use decimal values) slicer for the minutes.

 

It would then check the times within the table containing the Time In (TI) and Time Out (TO) to say that that time is between TI and TO and therefore would show that ID x would be in location y.

 

Thanks,

J

 

okay so you want to check out the new August product release video - where it demos the new range slicer....  it creates a measure that has values that you can use.... just watched it myself.  can't help you further in this as it is new to me but check it out and then see if it advances your cause......

www.CahabaData.com

@CahabaData

 

Have done 🙂 

 

Seems like this new release has come at just the right time.

 

Thanks for the help anyway

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.