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 Apps / why is this expression...
Power Apps
Unanswered

why is this expression invalid

(0) ShareShare
ReportReport
Posted on by 17
if(isBlank(items('Apply_to_each')?['FieldName']),"",1)
 
I am trying to use an expression to test for a blank value in an excel table that i am importing to sharepoint.  I want to avoid my prep step of adding numbers into all my blank cells in the table.  At the end of the day, i will replace the final 1 (else) with something more useful.
 
I got the expression builder to finally take this expression/formula/function, but when i ran the flow i got the following error:
InvalidTemplate. Unable to process template language expressions in action 'Update_item_4' inputs at line '1' and column '2275': 'The template function 'isBlank' is not defined or not valid.'.
 
any ideas how i can build this test in an expression for an update item action?
Categories:
I have the same question (0)
  • CU-18081211-6 Profile Picture
    9,270 Moderator on at

    Hi @natanz ,

    Is this PowerAutomate issue ? 😊 I think is the wrong community, but let me give a shot.

    There is no function called IsBlank() in PowerAutomate, you should use empty() function to check if your value is empty.

    Also for string in PowerAutomate you have to use single quote ' , not double ".

    And last you have as a result a string in one branch of the if clause and an integer in the other one. You can confuse the system with this approach.

     

    Hope it helps ! 

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 93 Most Valuable Professional

#2
Haque Profile Picture

Haque 81

#3
Valantis Profile Picture

Valantis 49

Last 30 days Overall leaderboard