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 / Need help adding an ex...
Power Automate
Unanswered

Need help adding an expression to fill empty slots with "Unknown"

(0) ShareShare
ReportReport
Posted on by

Hello So I added a compose funtion to my bot to look through the JobName column and check for empty cells. If it finds and empty cell it fills it with "unknown/notlisted" and if it doesnt it just uses what it does find. The expression I am using is.
if(empty(triggerBody()?['JobName']), 'Unknown/Not Listed', triggerBody()?['JobName'])

 

The problem is it fills all cells with "unknown/not listed" not just empty ones.

Categories:
  • v-yetonggu-msft Profile Picture
    Microsoft Employee on at

    Hi @rmartori ,

    Please try this expression:

     

    if(empty(triggerBody()?['JobName']),null,triggerBody()?['JobName'])

    Best Regards,

    Sunshine Gu

     

  • rmartori Profile Picture
    on at

    Sadly that just made both test emails empty, I dont know why but it is treating a non-empty cell as if it was empty and replacing it with either null with your expression or  'Unknown/Not Listed' with mine. 



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 426

#2
11manish Profile Picture

11manish 308 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 159

Last 30 days Overall leaderboard