Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Solved! Go to Solution.
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
Hi @Hutchisoni ,
Based on my test, you could try to use a measure to format your data:
Sample data:
Create below measure:
Measure = IF(CALCULATE(SUM(Table1[MemberID]))<>MAX('Table1'[MemberID]),"#F2C80F")
Use the Advanced control function:
Hope it could help you.
Regards,
Daniel He
Hi @Hutchisoni,
Could you please offer some sample data and post your desired result if possible?
Regards,
Daniel He
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
Hi @Hutchisoni ,
Based on my test, you could try to use a measure to format your data:
Sample data:
Create below measure:
Measure = IF(CALCULATE(SUM(Table1[MemberID]))<>MAX('Table1'[MemberID]),"#F2C80F")
Use the Advanced control function:
Hope it could help you.
Regards,
Daniel He
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
98 | |
86 | |
70 | |
62 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |