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 Apps
Answered

Clear a collection

(0) ShareShare
ReportReport
Posted on by

Hello everyone,

In Flk # (DataCard Name "Flk#_1") I save the data as a string and separate it by "," this is for 1 SharePoint List (List "B") and submit this form.

Now, when selecting the gallery (SharePoint List "A") I would like to clear this collection or even when I submit the form to clear the collection.

List "A" does not have "Flk#_"

sophiatheresa74_1-1694521991554.png

 

Any help would be greatly appreciated!

Categories:
  • Verified answer
    v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @sophiatheresa74 ,

     

    One problem here is that since your gallery is connected to ListA, this table does not have columns such as 'Flk#_1', so you cannot find the corresponding data using 'ThisItem'. If you want to clear collections when selecting a Item in the Gallery, you can set it like this:

    OnSelect:Clear(Flk1);Clear(Qty1);Clear(Wgt1);

     

    Best regards,

    Rimmon Li

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

#2
WarrenBelz Profile Picture

WarrenBelz 191 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 167

Last 30 days Overall leaderboard