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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Join a table to a coll...
Power Apps
Unanswered

Join a table to a collection

(0) ShareShare
ReportReport
Posted on by 254

Hi, I'm trying to join a table to a collection using a lookup to find the correct record (there could be no matching record).

 

My thoughts are to use the following code but PowerApps does not agree:

AddColumns('[dbo].[tjLiveStocktakeOutput]',"Confirmed",LookUp(colCount,ProductCode = '[dbo].[tjLiveStocktakeOutput]'[@ProductCode],Confirmed))

 

Any ideas?

 

Thanks in advance.

Categories:
I have the same question (0)
  • eka24 Profile Picture
    20,925 on at

    A screenshot could have helped to know where the error is. But I seems you left out a comma;

    AddColumns('[dbo].[tjLiveStocktakeOutput]',"Confirmed",LookUp(colCount,ProductCode = '[dbo].[tjLiveStocktakeOutput]',[@ProductCode],Confirmed))

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • trjackson77 Profile Picture
    254 on at

    Thanks for the quick reply and the feedback @eka24 .  Unfortunately, it doesn't seem to be a comma:

     

    trjackson77_0-1598632341876.png

     

  • eka24 Profile Picture
    20,925 on at

    Please the screenshot is not clear. Take And send again

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 345 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 177

Last 30 days Overall leaderboard