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 / How to save choice / t...
Power Apps
Unanswered

How to save choice / toggle by clicking "save"

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi there,

 

I am new to powerapps so this question might be some kind of easy to answer by you.

Currently I am trying to create a app from scratch for managing some customer data. 

 

In this case it's necessary that I can use a toggle for creating "true" and "false" information.

How can I save those information back to my excel file?

 

As far as I see a toggle and checkbox will save immediately due to the "OnCheck", "OnUncheck" and "OnChange" actions. 

In my case I want that these information is only saved if I press the "save" button to save the complete form.

 

Any idea how I can achieve this?

 

Thanks for your help!

Categories:
  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi Aaron_Viehl,

     

    If you want to save Toggle/Checkbox value to data source, when configuring the function, please try to configure the function with Toggle.value or Checkbox.Value.

     

    Say I am trying to save a Toggle value to Excel table using Patch function. On the app, add a Toggle control, a Text input control, and a Button control.


    Then set the Button’s OnSelect property as: Patch(Table1,Defaults(Table1),{Equipment:TextInput1.Text,Status:Toggle1.Value})


    When clicking the button, the Toggle value would be saved to data source.

     

    Please feel free reply if you need more help.


    Best regards,
    Mabel Mao

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi & thanks for your reply

     

    Unfortunately I can't get it to work. At the moment I'm collecting all info from my screen by using Collect(TempDB;{Testentry:Checkbox1.Value}) but the Value is empty all the time even if the Checkbox is checked.

     

    Dou you have a idea about this?

     

    Best regards,

    Aaron

  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi Aaron_Viehl,

     

    According to your description, I use Collect function on my side to test this issue.


    The function I am using on my side is: Collect(DA,{value:Checkbox1.Value})
    4.PNG


    When clicking the button, the value would be saved to the collection. I can check the value at here.

    5.PNG

     

    Please try it again on your side. About check box control, please see this doc for a reference:
    https://powerapps.microsoft.com/en-us/tutorials/control-check-box/

     

     

    Best regards,
    Mabel Mao

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

#2
WarrenBelz Profile Picture

WarrenBelz 194 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 150

Last 30 days Overall leaderboard