Announcements
Hi - I am attempting to execute multiple commands based on the condition of an if statement.
For example:
If(A, EXECUTE1, EXECUTE2, false)
or
If(IsBlank(A) or IsBlank(B),
EXECUTE1,
EXECUTE2,
false)
Any ideas?
Hello @RichHarr , Do something like that:
If( ConditionA = true or ConditionB= true,
// if answer is true( Execute 1 and Excute 2, ....),
// is answer is false
(Do3 and Do 4,...))
Parentheses are key
Pierre, thanks for responding. Still having issues.
Below is a snapshot of my snipet.
You can also use this :If(statement,Set(tmpVar1,"") ; Set(tmpVar2,""), // you can perform multiple actions by separating it with semicolon(;)
false
)
Hello @RichHarr
There's a link to an exemple at the end of the article. PowerApps If Statement And Nested If With Example | Power Apps (devoworx.net)
Maybe the property where you located your code expects a value. In that case, you maybe need to reconsider how to program your solution. The mechanisim is different to VBA or a similar language. Microsoft Power Fx overview - Power Platform | Microsoft Learn
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 396 Most Valuable Professional
11manish 134 Super User 2026 Season 2
MS.Ragavendar 101 Super User 2026 Season 2