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 / Code with more than on...
Power Apps
Answered

Code with more than one line in canvas

(0) ShareShare
ReportReport
Posted on by 33

Dear Experts
Is it possible to write more than one line code, how to seperate this?
Example for one button:
set(x;10)  AND set(y;20)

 

Thanks a lot

Categories:
  • Verified answer
    timl Profile Picture
    37,382 Super User 2026 Season 2 on at

    Hi @wueschn 

    This is the syntax:

    Set(x;10);;
    Set(y;20)
  • wueschn Profile Picture
    33 on at

    Thanks!!

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

#2
M Bilal Khan Profile Picture

M Bilal Khan 250

#3
Mohsin Ali Profile Picture

Mohsin Ali 225

Last 30 days Overall leaderboard