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
Hutchisoni
Frequent Visitor

Highlighting Overlapping Bookings

Hi

 

I have a bookings table with BookingID Startdatetime and Enddatetime and CustomerID.

 

I want to highlight if a customer books two bookings that overlap. (eg. First booking is from 6pm to 7pm but that customer also makes a booking on the same day at 6:30pm to 7:30pm).

 

Can anyone help with this? Im struggling with it.

 

Thanks

 

Ian

2 ACCEPTED SOLUTIONS

I have attached sample data below. The highlighted memberID's are the same person, however they have booked into 2 classes that overlap. Is there a way I can easily report on who has booked on classes that either start at the same time or overlap..

 

Many thanks

 

sample.JPG

View solution in original post

Hi @Hutchisoni ,

Based on my test, you could try to use a measure to format your data:

Sample data:

1.PNG

Create below measure:

Measure = IF(CALCULATE(SUM(Table1[MemberID]))<>MAX('Table1'[MemberID]),"#F2C80F")

Use the Advanced control function:

1.PNG

Hope it could help you.

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @Hutchisoni,

Could you please offer some sample data and post your desired result if possible?

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I have attached sample data below. The highlighted memberID's are the same person, however they have booked into 2 classes that overlap. Is there a way I can easily report on who has booked on classes that either start at the same time or overlap..

 

Many thanks

 

sample.JPG

Hi @Hutchisoni ,

Based on my test, you could try to use a measure to format your data:

Sample data:

1.PNG

Create below measure:

Measure = IF(CALCULATE(SUM(Table1[MemberID]))<>MAX('Table1'[MemberID]),"#F2C80F")

Use the Advanced control function:

1.PNG

Hope it could help you.

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.