Quantcast
Viewing all articles
Browse latest Browse all 217217

Joining tables based on two different fields

I have an organization that has two systems, one is a lobby management system that gives out tickets (kind of like a "take a number" system).  The second system is a customer survey feedback system.  As such I have two different tables.  I'll just call them LMS and CSF.

 

In LMS, I have a StartDate and an EndDate.  I also have a LocationID and a ProcessId.

In CSF, I have a DateSubmitted and a LocationID.

 

I need to determine LMS.ProcessID based on two things 1) Whether CSF.DateSubmitted falls between LMS.StartDate and LMS.EndDate and 2) LocationId.  I could theoretically have 15 customers submit a survey within a range, so without the second part of the equation (the LocationID), I'm sunk.

 

Is there any way to accomplish this in Power BI? 

 

Thank you!


Viewing all articles
Browse latest Browse all 217217

Trending Articles