cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ajyendra24
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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (3,265)