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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
willia93
Regular Visitor

Trying to match two dates from two different tables

Looking at two different tables that are linked by a unique ID, need to see matches and non matches for table A based on table B which has what date should be. 

 

Tried using a matrix but it doesn't show the corresponding date that is associated with the ID on table A and B it just is showing the earliest date.

 

Any other tools I can use? Merging queries isn't working since I have to essentially calculate the date because it is in 3 seperate columns for year/month/day.

1 ACCEPTED SOLUTION

Hi @willia93 ,

 

As far as I understand, it can't match. For example, if there are 3 dates for an ID in table a and 8 dates for the same ID in table B, This cannot be matched.

If I misunderstand your intention, please provide some sample data and the results you expect.


Best Regards,
Liang
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
amitchandak
Super User
Super User

@willia93 , Try a measure like

minx(values(TableA[ID]) , Min(Min(TableA[Date]) , Min(TableA[Date])))

 

with Id from Table A

@amitchandak Ok thank you! However how do I see if whether or not it matches from Table B? I am trying to use a matrix but I cannot figure out where to put the values/measure within it. Is there a better visualization to use?

Hi @willia93 ,

 

As far as I understand, it can't match. For example, if there are 3 dates for an ID in table a and 8 dates for the same ID in table B, This cannot be matched.

If I misunderstand your intention, please provide some sample data and the results you expect.


Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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