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 / How to edit excel via ...
Power Apps
Answered

How to edit excel via checkboxes?

(0) ShareShare
ReportReport
Posted on by 42

Hi,

I am new to PowerApps. I have managed to add an excel source and dropdown panels to filter the content. I am now struggling to get 4 checkboxes which will perform edit option, saving selected data onto excel. Only 1 selection is possible. When selected, the data would be transferred to excel file automatically.  There are many tutorials on how to do it in here, but I can't get a grip around it - could you kindly advise, step by step, how to achieve it?

 

The below screenshot shows my current progress:

TCop93_0-1631532070413.png

 

 

Categories:
I have the same question (0)
  • Verified answer
    Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    Ok... After you select the checkbox you want to add it to the excel, right?

    If yes, use a patch function

     

    https://docs.microsoft.com/pt-pt/powerapps/maker/canvas-apps/functions/function-patch 

     

    For new Item:

     

    Patch( DataSource,

               Defaults(DataSource),

               {

                ....

               }

    )

     

    For existing item: 

     

    Patch(DatSource,

              LookUp(DataSource, ID = ThisItem.ID),

              {

               ....

             }

    )

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,
    Gonçalo Nogueira

    Check my LinkedIn!

    Check my User Group (pt-PT)!

  • TCop93 Profile Picture
    42 on at

    Thank you 🙂 the patch function works perfectly!

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard