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
secondImage

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

Top Kudoed Authors
Users online (44,325)