Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Adding Lookup Function within a collection record

I am trying to add a new column as a look up column and store it in a local collection. I plan to use the new column as a column for the data table control.


I have noticed that normally without lookup, i.e. just some formatting added like formatting new column to add date format or currency format works. But whenever I use the lookup formula within add columns, the collection does not show any columns within it.


I am using the below expression to create the collection:


"Observers",LookUp('[dbo].[Observers]',LOGIN_ID = OBS_LOGIN_ID,Concatenate(LAST_NAME,", ",FIRST_NAME))))

Community Support
Community Support

Hi @Swagato,


Check if there is anything wrong with the Concatenate(LAST_NAME,", ",FIRST_NAME) part. Make sure that only [dbo].[Observers] contain the LAST_NAME and FIRST_NAME column. 




Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.



The Observer table is the master table and only has information on FIRST_NAME and LAST_NAME. Also, this issue is not just with the expression I have mentioned. It has occurred for me for any lookup function on any table I use within the add columns and then creating a local collection out of it.


P.S. I am using an on-premise SQL Server database. Not sure whether it has anything to do with it.

Impactful Individual
Impactful Individual

i think your going to need to collect the observers table first with an addcolumns to do your concatenate, then do the lookup.
If you use addcolumns though you don't need concatenate anyway, just do: FirstName & " " & SurName (you could try this directly in your lookup but I don't think it works this way from memory).

Helpful resources

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!


Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (21,409)