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 / 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:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    153,117 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

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 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard