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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / html table for SharePo...
Power Apps
Unanswered

html table for SharePoint List

(0) ShareShare
ReportReport
Posted on by 102
I need to create an HTML table that retrieves the values of 3 columns from a SharePoint list based on ThisItem from the gallery. How can I write the code to display the values without showing the list header?
 
 
 
 
Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    Hi @jurunas2023 ,

    Can you please post (in Text) your current code. Assuming the HTML box is inside the gallery, ThisItem will work, however outside you will need GalleryName.Selected.

  • jurunas2023 Profile Picture
    102 on at

    "What I managed to get was this. I would like to add a dashed black bottom line to each item to separate the view and adjust the columns so that they align with the title. Would that be possible?"

    jurunas2023_1-1710207010125.png

     

    The code I created was this one:

    "<table><tr><th></th><th></th><th></th></tr>" & Concat(Filter(MapaProcessos_2;ThisItem.Atividade=N3);"<tr><td>" & N4 & "</td><td>" & N5 & "</td><td>" & N6 &"</td></tr>") & "</table>"

     

  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    Hi @jurunas2023 ,

    You need to include the header in the Table - so include whatever formatting you have in the code below

    "<table>
     <tr>
     <th></th>
     <th></th>
     <th></th>
     </tr>
     <tr>
     <td>n4</td>
     <td>n5</td>
     <td>n6</td>
     </tr>" & 
     Concat(
     Filter(
     MapaProcessos_2;
     ThisItem.Atividade = N3
     ),
     "<tr>
     <td>" & N4 & "</td>
     <td>" & N5 & "</td>
     <td>" & N6 & "</td>
     </tr>"
    ) & 
    "</table>"

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard