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 / Unexpected characters ...
Power Apps
Unanswered

Unexpected characters error

(0) ShareShare
ReportReport
Posted on by 4
Hello all,
 
I am getting an unexpected characters error in the code below. Can you please help me?
 
 


[code]
 
Set(varRecordID,
    Patch('Shopping Cart Orders', Defaults('Shopping Cart Orders'),
        {
            'Order Total': With(
                { ST: Sum(colShoppingCart, SubTotal) },
                ST + ST * 0.10 + 49
            )
        }
    ).ID),
Collect('Shopping Cart Ordered Items', AddColumns(colShoppingCart, "OrderID", varRecordID))

[/code]
 
 
Categories:
  • MrGott Profile Picture
    101 on at
    Shouldn't that be a semicolon?
  • KG-20120511-0 Profile Picture
    4 on at
    When I replace it with semicolon, these appear as the new error.

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

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard