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 / Howto add more that § ...
Power Apps
Answered

Howto add more that § instruction

(0) ShareShare
ReportReport
Posted on by 331
Hello all,
I'm completely new in PowerApps and I've thw following problem.
 
According to what I read, it should be possible to add more than 1 instruction in  a block of instruction.
 
For example, I've the event 'OnSelect' and I'd like to initalize 2 variables like this  (in my envirronement, the semicolon is used) :
 
Set (premierJour;1) ;
Set(deuxiemejour;2)
 
Unfortunately, this generates an error  at the semicolon's place  
 
the workarounds I found are :
 
concurrent
(
   Set (premierJour;1) ;
   Set(deuxiemejour;2)
)
 
or 
Set (premierJour;1)  &&
Set(deuxiemejour;2)
 
 
so, is it normal I can't just put 2 instructions separated by a ; (or , in your case) ? if yes, what is the best to use ; concurrent() or && ?
Thanks to all for your help
 
 
Categories:
  • Verified answer
    WarrenBelz Profile Picture
    156,774 Most Valuable Professional on at
    Hi  forstera
    European syntax is like this
    Set(premierJour; 1);;
    Set(deuxiemejour; 2)
     
    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee

     
  • forstera Profile Picture
    331 on at
    @WarrenBelz
     
    thanks very very much for your help. I spent a lot of time trying different things but not the double semicolons !
    Nowhere in the documentation I found this information !
    Thanks again and have a nice week-end
    Arnaud

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 345 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 225

#3
M Bilal Khan Profile Picture

M Bilal Khan 192

Last 30 days Overall leaderboard