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 / Multiple IsBlank withi...
Power Apps
Answered

Multiple IsBlank within a single If function issue

(0) ShareShare
ReportReport
Posted on by

Hello Everybody,

 

I have an issue with the IsBlank code. I am trying to include multiple IsBlank checks with the code below.

IsBlank(OperatorDropDown.Selected.Operator || BoxDropDown.Selected.Box || Value(SlotNoText.Text)),("Some of the fields are empty", NotificationType.Error),..."code to be executed if no blanks")

When running the app it just executes the code regardless of fields being blank. If I try the code with just 1 IsBlank check such as:

IsBlank(OperatorDropDown.Selected.Operator),("Some of the fields are empty", NotificationType.Error),..."code to be executed if no blanks")

Then it works with any 1 of the three checks. I don't understand why it won't work with ||

 

Please help.

 

Thanks,

 

Rob

Categories:
  • Verified answer
    AndrewR1 Profile Picture
    1,572 Moderator on at

    Hi @rob4681 you usually have to do the following: 

    IsBlank(OperatorDropDown.Selected.Operator) || IsBlank(BoxDropDown.Selected.Box)|| IsBlank(Value(SlotNoText.Text)),("Some of the fields are empty", NotificationType.Error),..."code to be executed if no blanks")

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. Remember, you can accept more than one post as a solution.

     

    If the content was useful in other ways, please consider giving it Thumbs Up.

     

    Thanks
    Andrew

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 Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 204 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard