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 / Collections and Custom...
Power Apps
Answered

Collections and Custom Row

(0) ShareShare
ReportReport
Posted on by 82

Hi all,

 

I have created a collection which stores values from Dataverse. 

How can I add a row to the collection only?

 

Collection Created is :

 

ClearCollect(DataPoint, TestTable)

Categories:
I have the same question (0)
  • Verified answer
    HamidBee Profile Picture
    932 Super User 2024 Season 1 on at

    You can use the "Collect" function to add a new row to your collection "DataPoint". The syntax for this function is "Collect(CollectionName, ItemToAdd)". In your case, the collection name is "DataPoint" and the item you want to add is "TestTable".

    Example:

     

    Collect(DataPoint, TestTable)

     


    You can also use the "Add" function with the same syntax if you want to add multiple rows at once.

    Example:

     

    Add(DataPoint, TestTable1, TestTable2, TestTable3)

     

     

    Please note that this will append the rows at the end of the Collection and use ClearCollect will remove all the previous data and add the new data you are collecting.

     

     

    If my reply helped you, please give a 👍, & if it solved your issue, please 👍& Accept it as the Solution to help other community members find it more.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 483

#2
WarrenBelz Profile Picture

WarrenBelz 399 Most Valuable Professional

#3
11manish Profile Picture

11manish 327

Last 30 days Overall leaderboard