cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Wilder1626
Helper II
Helper II

PowerApps AddColumns doesn't show result - Error [object Object]

Hi

 

I have a Data Table where i want to pull data from 2 tables.

Table One: SHPG_LOC_T

Table Two: ADDR_T

The column to map from both tables are named the same: ADDR_ID

 

In the Items field of the Data Table, I've entered below code:

 

 

 

AddColumns('[QA].[SHPG_LOC_T]', 
"PST_CD", 
LookUp('[QA].[ADDR_T]',ADDR_ID = '[QA].[SHPG_LOC_T]'[@ADDR_ID] ))

 

 

 

I was assuming that it would give me the Postal code of the ADDR_ID, but instead, I'm getting [object Object].

Wilder1626_0-1617538347915.png

 

Would you know what I'm doing wrong with this pretty straight forward code?

 

I have this error on the PST_CD column:

"This Formula uses scope, which is not presently supported for evaluation"

Wilder1626_0-1617539352812.png

 

 

Please let me know if you require more info. 

 

Thank's for your help.

1 ACCEPTED SOLUTION

Accepted Solutions
Wilder1626
Helper II
Helper II

It think i found it. Still doing some tests

 

 

 

AddColumns('[QA].[SHPG_LOC_T]', 
"Address", 
LookUp('[QA].[ADDR_T]',ADDR_ID = '[QA].[SHPG_LOC_T]'[@ADDR_ID] ))

 

 

 

And on the PSTL_CD column, i now have: ThisItem.'Address'.PSTL_CD

 

 

View solution in original post

2 REPLIES 2
Wilder1626
Helper II
Helper II

It think i found it. Still doing some tests

 

 

 

AddColumns('[QA].[SHPG_LOC_T]', 
"Address", 
LookUp('[QA].[ADDR_T]',ADDR_ID = '[QA].[SHPG_LOC_T]'[@ADDR_ID] ))

 

 

 

And on the PSTL_CD column, i now have: ThisItem.'Address'.PSTL_CD

 

 

Hi,

 

Thanks for your follow up post! I am glad that you were able to get this resolved. Hopefully this will prove useful for future communities members.

 

Regards,

 

Alex

 

-------

 

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

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (2,182)