web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Trying to use LOOKUP f...
Power Apps
Unanswered

Trying to use LOOKUP function to perform LEFT OUTER JOIN between 2 Dataverse tables

(0) ShareShare
ReportReport
Posted on by 17

Hello All,

 

I have 2 Dataverse tables and I would like to perform a left join.

The main table is 'ANPR - LiveFeeds' (left table) and I would like to join 'ANPR - Vehicle Registration Plate Mappings' to it.

 

The formula that I use is the following:

ClearCollect(ANPR_joined_dataset, 
 AddColumns('ANPR - LiveFeeds',
 "Full_Name_or_Service", LookUp('ANPR - Vehicle Registration Plate Mappings', cre34_carplate = 'ANPR - Vehicle Registration Plate Mappings'[@Car_Plate_No_No_Spaces],Full_Name_or_Service)
 ))
;

 

There are missing records in the returned collection using the formula above.

It seems that it performs an inner or possibly other 'weird' join.

 

What am I doing wrong with the formula?

Categories:
I have the same question (0)
  • Verified answer
    timl Profile Picture
    36,383 Super User 2025 Season 2 on at

    @themistoklis 

    This syntax looks correct to me.

    The possible problem here is that ClearCollect collects up to a maximum of 2000 rows (or whatever your data row limit setting is.

    To verify this, you can modify your call to AddColumns and filter 'ANPR - LiveFeeds' to see if you can retrieve the rows that are missing in your initial formula.

  • themistoklis Profile Picture
    17 on at

    @timl 

     

    Indeed that was the issue. It was only retrieving the 2000 rows.

     

    Thank you

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard