Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

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

(0) ShareShare
ReportReport
Posted on 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 at
    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,680 Super User 2025 Season 1 on at
    Re: Create a html table from SharePoint List excluding columns with null results

    Check function removeProperty()

  • paulbeck1 Profile Picture
    244 on at
    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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,695 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow