web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create a HTML table fr...
Power Automate
Unanswered

Create a HTML table from array

(1) ShareShare
ReportReport
Posted on by 2,295

This is my array "MembrosEquipa":

 

[
  "John",
  "Mary",
  "Bill"
]
 
I want this in a HTML table, with the column name "Nome":
 
WebPortal_0-1654789292726.png

 

This is returning a table with 3 rows * 1 column, with the 3 names in each:

Nome

"John", "Mary", "Bill"
"John", "Mary", "Bill"
"John", "Mary", "Bill"
 
How do I get this working?
 
Thanks in advance for helping!
Categories:
I have the same question (0)
  • Verified answer
    MarvinBangert Profile Picture
    1,924 Most Valuable Professional on at

    Hi @WebPortal 

    instead of using the variable within "Value", you need to use an expression "item()". That will create a html table with "Nome" as header and all the array values in it.

     

    Using "From" you are running through each item within the array, but as value you are using the whole array again. Using "item()" it will only use the current value, you are running on.

     

    Does this help you? Otherwise please give me some more information.

    Best regards
    Marvin

    If you like this post, give a Thumbs up. If it solved your request, Mark it as a Solution to enable other users to find it.

    Blog: Cloudkumpel

  • WebPortal Profile Picture
    2,295 on at

    Brilliant, thank you so much!

  • sim_psp Profile Picture
    4 on at

    How would I get a similar solution for a Table of the following schema:

    QuestionAnswer
    <key of the array item><item>

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard