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 Automate / create table with Shar...
Power Automate
Answered

create table with Sharepoint list from items that are not blank

(0) ShareShare
ReportReport
Posted on by

I am creating a table from a SharePoint list new created item and would like to know if there is a way to ignore the columns that are blank in SharePoint. So don't include them in the table. 
example: 
SharePoint list 
List SampleList Sample

 

table sample (minus blank columns) 

TableTable

 


I would like to use this table in a planner details but don't want a long list of blank columns. 
Thank you in advance - any help! 

Categories:
  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @Lisea123 while creating html table you need to use expression for complete <tr>.

    Use one compose and pass your <tr><td>Action</td><td></td></tr> like this.

    In another compose 2 : <tr><td>Action</td><td>Sale(dynamic content)</td></tr>

    Now use 

    if(equals(output('Compose_2'),output('compose')),'',output('Compose_2'))

    do this for all possible blank columns.

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

  • LA-07111402-0 Profile Picture
    on at

    thank you @Hardesh15 
    I'm still a little rusty with expressions.Does <tr> mean trim? 

     

    trim.jpg

  • Verified answer
    Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @Lisea123 it is html code.

    you need to design your flow like this-

    Hardesh15_0-1657562790238.png

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

     

     

     

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

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 233 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 227 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 178

Last 30 days Overall leaderboard