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 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

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 759 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 310 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 228

Last 30 days Overall leaderboard