cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ChrisInTexas
Level: Powered On

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
Highlighted
Meneghino
Level 10

Re: Multiple Column Collection

Use the ShowColumns function:

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

 

PS To be clear:

ClearCollect(ColWhatever, ShowColumns(TheListName, "ColumnName1", "ColumnName2"))
5 REPLIES 5
Highlighted
Meneghino
Level 10

Re: Multiple Column Collection

Use the ShowColumns function:

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

 

PS To be clear:

ClearCollect(ColWhatever, ShowColumns(TheListName, "ColumnName1", "ColumnName2"))
ChrisInTexas
Level: Powered On

Re: Multiple Column Collection

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

 

Thanks.

--Chris

rahulvartak
Level: Powered On

Re: Multiple Column Collection

Thanks Meneghino !!

rfenix1984
Level: Powered On

Re: Multiple Column Collection

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

rfenix1984
Level: Powered On

Re: Multiple Column Collection

here, pics for further understanding, thank you

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Users Online
Currently online: 45 members 4,919 guests
Please welcome our newest community members: