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 / List Rows Output on Da...
Power Automate
Answered

List Rows Output on Dataverse Table is Omitting Columns that are null

(0) ShareShare
ReportReport
Posted on by 41
When I use List Rows on a Dataverse Table, the output json does not show columns with null values. This is a big problem when needing to parse json which requires entering the schema that contains both columns, but the output doesn't match the schema causing action to fail b/c a column was null and omitted instead of showing a blank/null value.
 
Example:
 
I have a Dataverse table called 'OmittedNullColumn' with fields for Name and Location. There are 3 records, 1 has both Name and Location, the other 2 only have either a Name or a Location, but not the other. When you run list rows on this table, the response is the 3 records, but the 2 items with Null values don't contain those fields. The expectation is cr71c_name and cr71c_location in both of these situations should show those columns exist but have no value, null value, etc.
 

I tried adding these columns in the List Rows Select Columns and in Filter Rows hoping maybe directly referencing them might force those null columns to appear in the JSON output, but no luck
 
 
 
Is there a way to force power automate, list rows, or Dataverse (where ever the issue is here) to display the columns in the json output with no value instead of omitting the entry entirely?
Categories:
I have the same question (2)
  • Verified answer
    Chriddle Profile Picture
    8,441 Super User 2025 Season 2 on at
    Check the Parse JSON's schema and remove the property names from the "required" array.
  • Verified answer
    kyasprin Profile Picture
    41 on at
    I marked the 'remove columns from JSON Parse' as solution as this fixed our issues, but wanted to give some extra context and things to try for others who may see this where removing the columns from Parse JSON may not resolve their issue.
     
    As mentioned in accepted solution, you can remove any columns that could be null:
     
     
    Looks like you can also changed the "required" section text in the schema to "optional" or delete the entire "required" section altogether so all columns are optional (unsure if this could have other ramifications if no columns are required in some situations.

    Something else I saw recommended that didn't work for my use case but may be useful, you can include the ability within each column for the values to be null. So in the Schema you might see something like this:

    "cr71c_name": { 
        "type": "string"
    }

    And you can modify the "type" to include the data format (string, number, etc.) to include null like this: 

    "cr71c_name": { 
        "type": [ 
            "string", 
            "null"
        ]
    }


    If you find that you need null columns to appear in the output for some reason, you can use a 'Select' action to specify the columns you need to show:
     

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard