Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Check if variable are filled then true or false

(1) ShareShare
ReportReport
Posted on by 115

Hi,

 

 I am wondering if it's possible to check multiple variable are not blank, with multiple variable nested as Or.

 something like this:

 

If(IsBlank(var_A) +

 IsBlank(var_B) And

   IsBlank(var_1 || var_2),

     true, false)

 

  • NielsNachtegaal Profile Picture
    115 on at
    Re: Check if variable are filled then true or false

    Thanks, @mmbr1606

      After some tweaking I Got it to work, 

     

    If(IsBlank(var_A)+

      IsBlank(var_B) +

      IsBlank(var_C) +

     

    Or(IsBlank(Var_1) And IsBlank(var_2)); 

      true; false)

     

  • NielsNachtegaal Profile Picture
    115 on at
    Re: Check if variable are filled then true or false

    Thanks for the response @mmbr1606,

    I might not explained it right, With your example the Or part only works, if all within the Or part are not blank.

     What I try to do is a couple of variables are seperatly filled, and combined with a nested group of variables of witch only one need to be filled, to give a true

  • Verified answer
    mmbr1606 Profile Picture
    12,121 Super User 2025 Season 1 on at
    Re: Check if variable are filled then true or false

    hey @NielsNachtegaal 

     

    try this please:

    If(
     And(
     IsBlank(var_A),
     IsBlank(var_B),
     Or(
     IsBlank(var_1),
     IsBlank(var_2)
     )
     ),
     true, 
     false
    )
    

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,670 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,011 Most Valuable Professional

Leaderboard