cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
hnguy71
Helper V
Helper V

Drop Columns from single record

Hi All.

 

I have an icon and on it's OnSelect property I create a variable called _ParentItem that collects entire record of that item inside a gallery:

Set(_ParentItem, ThisItem);


I then have an icon that patches to a collection but there are a few columns that I don't have and I want to drop the columns but it's not allowing me:
donthave.png

How can I drop columns / fields from a record?

1 ACCEPTED SOLUTION

Accepted Solutions
Drrickryp
Super User II
Super User II

Hi @hnguy71 

You would use the DropColumns() function to do that when you create the variable.  Please see https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-table-shaping

View solution in original post

3 REPLIES 3
Drrickryp
Super User II
Super User II

Hi @hnguy71 

You would use the DropColumns() function to do that when you create the variable.  Please see https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-table-shaping

View solution in original post

Ahh drop them while I create the variable. Got it! I'll try that!

pwagma
Helper I
Helper I

I am stuck with this issue. When I  create the variable, I take it from a selected item of a gallery, so it doesn't let me drop the column at this moment

Any idea? I need to keep the variable as a single record

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (70,130)