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 / Problems getting Reset
Power Apps
Answered

Problems getting Reset

(0) ShareShare
ReportReport
Posted on by 6

Hi everyone, I'm not native english speaker so sorry for mistyping. So I'm building a ShoppingCar for my famili's company and in the tutorial the guy was doing something like this:

 

Collect(colShoppingCart; {Title: ThisItem.Title; PreciodelProducto: ThisItem.Precio; ProductoID: ThisItem.ID; Cantidad: Slider2.Value; TamañodelProducto: Dropdown1.Selected.Result; Subtotal: (Slider2.Value * ThisItem.Precio )}); Reset(Slider2);Reset(Dropdown1); Set(varShowSuccess, true)

 

But I got a problem doing the reset 'cause my current project don't let me use: 

 

;Reset(Slider2); Reset(dropdown1);Set(varShowSuccess,true)

 

Is there any form to rapair this, I'd love reading you mates!

Categories:
I have the same question (0)
  • rutuja1507 Profile Picture
    22 on at

    hey @Juanmiguel3 you can use below formula to resolve the error :-

    Collect(colShoppingCart, {Title: ThisItem.Title, PreciodelProducto: ThisItem.Precio, ProductoID: ThisItem.ID, Cantidad: Slider2.Value, TamañodelProducto: Dropdown1.Selected.Result, Subtotal: (Slider2.Value * ThisItem.Precio )}); Reset(Slider2);Reset(Dropdown1); Set(varShowSuccess, true)

    the main root cause for this is you are using ; insted of , inside collection

    which is resulting in error for your formula , I hope I have solved your query.
    Thanks & Regards
    Rutuja khairnar

  • Verified answer
    Ramole Profile Picture
    Super User 2024 Season 1 on at

    Hi @Juanmiguel3 

     

    Are you trying to reset Reset(Dropdown1) ? if the dropdown inside gallery it will not let you, all you have to do is create variable like that and add where you have reset(dropdown1) 

    UpdateContext({varresetDropdown: true})

     

    Add this on the dropdown1 Reset 

    varresetDropdown

    Capturwere.PNG

  • Ramole Profile Picture
    Super User 2024 Season 1 on at

    @Juanmiguel3 

    Just to check did it work for you the solution I have provided ?

  • Juanmiguel3 Profile Picture
    6 on at

    Hey mate, here in my country is 12 am, so I'm off to work, I was just checkinh my email like always, then I saw both comments, tomorrow I'll check the answer, but for sure your answer is very helpful, I just want to say thank you so much before go to the bed 

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 427 Most Valuable Professional

#2
11manish Profile Picture

11manish 201 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard