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

Community site session details

Session Id : 696YuNmg5AGmYxVWSDCpJe
Power Automate - Using Flows
Answered

Create a html table from SharePoint List excluding columns with null results

Like (0) ShareShare
ReportReport
Posted on 8 May 2024 04:28:43 by 22

Hi, I want to email results from SharePoint List in Table format, excluding all columns with null results

 

Test Values

Zenton_0-1715142181930.png

Current Results

Zenton_1-1715142290209.png

 

Required Results

Zenton_3-1715142425595.png

Thanks Rodney

 

  • Verified answer
    Zenton Profile Picture
    22 on 09 May 2024 at 01:15:04
    Re: Create a html table from SharePoint List excluding columns with null results

    Thanks @Chriddle ,
    I had to convert array to object, check for null, convert back to array, create HTML table.

    if(equals(items('For_each')?['field_9']?['Value'],null),removeProperty(outputs('Build_JSON'),'Service Required'),removeProperty(outputs('Build_JSON'),''))
    Rodney
  • Verified answer
    Chriddle Profile Picture
    7,936 Super User 2025 Season 2 on 08 May 2024 at 09:25:06
    Re: Create a html table from SharePoint List excluding columns with null results

    Check function removeProperty()

  • paulbeck1 Profile Picture
    244 on 08 May 2024 at 09:07:32
    Re: Create a html table from SharePoint List excluding columns with null results

    One option is:

    If this is a priority, use an switch statement that checks if expected fields are blank. 

    The flow will be way more complex but the number of actions will be only slightly higher and performance will be pretty much the same, and you'll get the result.  

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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Featured topics

Restore a deleted flow
Loading complete