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 / Flow failing due to 'N...
Power Automate
Answered

Flow failing due to 'Null' value

(0) ShareShare
ReportReport
Posted on by 270

Hi,

 

new to flows and I am wanting to export a Sharepoint list out to a CSV file.  I have used the follwoing flow options:

- Get Item from PowerApps

- Compose

- Select

- Create CSV Table

 

This works fine if my Sharepoint list has values in all of the Map values of the Select function.  If any are empty it fails with the following error as an example

 

The template language expression 'body('Get_item')['RBRulesApplyJobs']' cannot be evaluated because property 'RBRulesApplyJobs' doesn't exist, 

 

I cannot force the sharepoint list with defaults etc. as it will skew my answers in the list.

 

Is there a best practice way of exporting from a sharepoint to Excel using a flow(I am triggering it from Powerapps) or can someone tell me how to avoid the empty error.

 

I have seen some if empty statements on the web/forums but I do not understand the syntax.

 

Any assistance is appreciated.

Categories:
  • Verified answer
    PieterVeenstra Profile Picture
    33 on at

    You can avoid null values by using the coalesce function

     

    coalesce (X, 'Empty') will return the text empt if X is emptybut it will return X when X is not null.

  • Gargoolgala Profile Picture
    270 on at

    Thanks Pieter,

     

    this seems to do the job - although it will mean adding it in to alot of fields 😞

     

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
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 282 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 119

Last 30 days Overall leaderboard