Announcements
I am trying to do a lookup within a addcolumns statement but below results in an invalid column error. Powerapps won't let me access any column of Table2 in the lookup.
ClearCollect(myCollection;AddColumns(Table1;"NewColumn";LookUp(Table2;Table2Column1="ABC";Table2Column2)))
Please try this:
ClearCollect( myCollection, AddColumns( Table1, "NewColumn", LookUp(Table2, Table2Column1 = "ABC", Table2Column2) ) )
Your issue is with ; rather than ,
Please Accept as Solution if it solves your question. Or just give it a Thumbs Up if it is helpful as can help others.
LinkedIn: https://www.linkedin.com/in/charlie-phipps-%F0%9F%91%A8%E2%80%8D%F0%9F%92%BB-91338715b/YouTube: https://www.youtube.com/channel/UChmFBGU1YKIU91sNMQ7buGgTwitter: https://twitter.com/phipps0218
In Germany ; is used instead of , (and for multiple commands double ;; is used)
Hi @123valentin ,
Could you please tell me provide me with the error message?
I tried to reproduce your problem (sorry I used comma instead of semicolon for regional reasons).
1.I created two collections named testA and testB.
2.I created new collection based on the formula you gave.
Best Regards,
Levi
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 232 Super User 2026 Season 2
WarrenBelz 202 Most Valuable Professional
Mohsin Ali 122