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

Need to Merge Two DataTable with same Columns in Powerapps

Hi All,

 

I want to create a datatable which is merge of two dataTable that contain Account and Contact Data respectively which I fetched from Dynamic CRM to connect Database. Now What happen When I Merge that Datatable through accountid it will not work as expected.

using Lookup It will not work. 

accountid in Account and parentAccountid in Contacts both are Guid Data Type.

So Can you please Suggest me how we can do that I almost waste couple of hours. 

 

Thanks 

Ajyendra Singh

10 REPLIES 10

Hi @v-xida-msft ,

 

I think It is because i have created two datatable name AccountDb and ContactDb . And Now What I am doing is merge these two datatable into one. But when we use AddColumns(AccountDb,"MainPhone",LookUp(--- check refernce),'Main Phone') it is not working because AccountDb datatype is now Control instead of TABLE . Same code is used directly to Account table it works like AddColumns(Accounts,"MainPhone",LookUp(---Checkreference--),'Main Phone').

 

Please Give suggest what I do to merge through that AccountDb Table which I created in PowerApps

Hope You understand What I am Trying to say

 

Thanks 
Ajyendra

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (5,682)