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 Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (903)