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
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

Power Apps Community Call

Monthly Power Apps Community Call

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

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (42,792)