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

Create a table with data from several datasources

Hi,

 

I want to create a table with data from several datasources.

First source of data: a table of purchase order lines

Second source of date: a table of vendors

 

I first list items of my first datasource and I get this:

Frog64_0-1617985001722.png

 

Now, I want to find the related vendor for each PO line. I know how to get the information and I can see the results but I don't know how to put it correctly in the previous table.

 

Here is my actual flow:

 

2021-04-09_18-20-07.pngThis step Get a record displays me each vendor for each record in the previous table.

But I create my new table in the Apply to each loop, and it is not good:

2021-04-09_18-22-37.png

 

Can you give me advise to get all the data I want in a final unique table? And add the vendor account in maybe the last column.

 

Thanks

1 REPLY 1
PatrickMSFT
Microsoft
Microsoft

Frog64,

 

I think you're on track here, the main thing is just getting information from your data sources, putting those into some kind of variable and then piping that output into the Create HTML table action.

 

Like so:
https://ryanmaclean365.com/2020/01/29/power-automate-html-table-styling/

 

You could start the Flow with two list record actions to build dynamic content from the two data sources and then use a Select action to specify key/value pairs. You could then just take that Output and create a table.

 

I hope this helps!

 

Patrick

Helpful resources

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

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (43,154)