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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Manoa
New Member

Finding datetime overlaps bases on dimension attribute

Hi, 
After struggling a day with several DAX solutions I'm left rather puzzled how to solve this.

The question is rather simple. Create a report for a planner, who has to make appointments with multiple professions/employees per appointment.

 

Design:

For all selected professions (via slicer) show available times with overlap with another availability (with a selected profession). ONLY show data when ALL selected professions have overlap.

 

Tables (simpified):

FactAvailability

Columns: EmployeeId, Start, End

 

DimEmployee

Columns: EmployeeId, Profession

 

Any help is much appreciated.

 

1 REPLY 1
lbendlin
Super User
Super User

overlaps by what - days, hours, minutes?  

 

Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue.
If you are unsure how to do that please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.

If you want to get answers faster please refer to https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.