cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Multiple Column Collection

In PowerApps, I can create a collection of an entire Sharepoint list (all columns) as below:

 

Collect(colWhatever, TheListName)

 

But I cannot figure out how to specify just the 2-columns that I need in from the list, like:

 

Collect(colWhatever, TheListName.Column1, TheListName.Column1)

 

 

Thanks for your help in advance.

--Chris

1 ACCEPTED SOLUTION

Accepted Solutions
Community Champion
Community Champion

Use the ShowColumns function:

https://powerapps.microsoft.com/en-us/tutorials/function-table-shaping/

 

PS To be clear:

ClearCollect(ColWhatever, ShowColumns(TheListName, "ColumnName1", "ColumnName2"))

View solution in original post

6 REPLIES 6
Community Champion
Community Champion

Use the ShowColumns function:

https://powerapps.microsoft.com/en-us/tutorials/function-table-shaping/

 

PS To be clear:

ClearCollect(ColWhatever, ShowColumns(TheListName, "ColumnName1", "ColumnName2"))

View solution in original post

Meneghino you are the man....works like a champ!

 

Thanks.

--Chris

Thanks Meneghino !!

hello Meneghino i have a problem and maybe you can help me, im triying to create a link between a table column and another page inside the same app, the trick is that when i press the link in the column i would like to be taken to the page in question showing the data from that column, help please!!!!

here, pics for further understanding, thank you

Thanks, Meneghino!


@Meneghino wrote:

Use the ShowColumns function:

https://powerapps.microsoft.com/en-us/tutorials/function-table-shaping/

 

PS To be clear:

ClearCollect(ColWhatever, ShowColumns(TheListName, "ColumnName1", "ColumnName2"))

 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (7,558)