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 bring selected ...
Power Apps
Answered

how to bring selected columns to collection

(0) ShareShare
ReportReport
Posted on by 262

 I want to bring only few columns from sharepoint list  to collection 

i wrote below forumale but all the columns are landed in the collection

product sales is the list name.

i want to see only selected column in the collection. please help

Please help. I have attached screenshots for details information.

c2.PNG
c3.PNG
c1.PNG
Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    154,930 Most Valuable Professional on at

    Hi @yougan ,

     You need the ShowColumns function

    ClearCollect(
     collectProductionsales,
     ShowColumns(
     'Product Sales'
     "Title",
     "Product Key"
     "SalesOrderNumber"
     "Unit Price"
     "Extended Amount"
     )
    )

     Depending on your column structure, you may also have to use

    ClearCollect(
     collectProductionsales,
     ShowColumns(
     'Product Sales'
     "Title",
     "Product_x0020_Key"
     "SalesOrderNumber"
     "Unit_x0020_Price"
     "Extended_x0020_Amount"
     )
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • timl Profile Picture
    36,785 Super User 2026 Season 1 on at

    Hi @yougan 

    You can call the ShowColumns function to return a subset a columns.

    You can collect the results of the ShowColumns function, so the formula you would use would look like this:

     

    Collect(collectProductionsales, 
     ShowColumns('Product Sales', "Title", "ProductKey", "UnitPrice")
    )
  • timl Profile Picture
    36,785 Super User 2026 Season 1 on at

    @yougan - I didn't notice @WarrenBelz's reply above when I wrote this - I would go with what he says as he shows the exact column names you would use.

  • yougan Profile Picture
    262 on at
    Thank you

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard