cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
gabrielrosa94
Helper I
Helper I

Lookup ID column in another list and put it's value into a HTML table.

Hello!

 

That's what a want to do:

- I have a flow on my PowerApps, wich first asks for the "NUMBANDEIRA". 

- After this, I start my flow with a powerapps trigger.

- Get items on "movimentações" list, filtering with Numbandeira eq 'askonpowerapps'

- It gets the itens "IDProduto" "Lote" "Quantidade" "Data de Fabricação"

 

But I dont want to show this "IDProduto" in my HTML table. I need to search it in another list and bring the code of the product, not its ID.

 

I tried finish the flow, but all I had was a HTML table contraining the IDProduto.

 

My question: after getting items, what am I supposed to do? Could you guys please, help me?

 

WHAT.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-alzhan-msft
Community Support
Community Support

Hi @gabrielrosa94 ,

 

Please create the flow as below:

1.png2.png

 

 

Best Regards,

Alice

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
abm
Super User
Super User

Hi @gabrielrosa94 

 

You could do this in couple of ways.

 

1. Read your SharePoint lists in a loop then get the ID form other lists. This stage you have all the information. Next you can create custom HTML table using a compose and append the table inside the loop.

 

Please see this post.

https://www.sharepointsiren.com/2019/07/formatting-html-tables-in-flow/

 

2.  Construct your own custom JSON schema which contains ID, qty, etc. Once you construct the JSON file you can pass to a Select power automate step and finally create the HTML table. Again you need to read the list in a loop then next get the id from the other list. Once you have all the information you can create your custom JSON schema.

 

 



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials
v-alzhan-msft
Community Support
Community Support

Hi @gabrielrosa94 ,

 

Please create the flow as below:

1.png2.png

 

 

Best Regards,

Alice

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Users online (3,583)