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

Is it possible to use _PowerAppsId_ as a unique identifier

Is it possible to use _PowerAppsId_ as a unique identifier for excel rows, I want a unique identifier for my excel rows so that I can use this formula 

 

Select(Parent);Set(itemid,ThisItem.powerapp)

 

1 ACCEPTED SOLUTION

Accepted Solutions
Resolver II
Resolver II

Hi @nobosy .

I'm afraid you cannot use the _PowerAppsId_ as a field identifier, as it is not included in the record that PowerApps retrieves from the data source (Excel).

You should be creating an artificial id of your own like an incremental integer or some kind of code-id.

However, if you are planning to modify or manipulate that record withing a gallery (as I can deduct by your Select(Parent) formula), you can always use expressions as:

  • Set(varName,Thisitem)-This will store the full record with all the fields.
  • Patch(dataSourceName, Thisitem, {field1: field1value, field2: field2value,...})- To modify that record in particular.

Hope this helps.

View solution in original post

2 REPLIES 2
Resolver II
Resolver II

Hi @nobosy .

I'm afraid you cannot use the _PowerAppsId_ as a field identifier, as it is not included in the record that PowerApps retrieves from the data source (Excel).

You should be creating an artificial id of your own like an incremental integer or some kind of code-id.

However, if you are planning to modify or manipulate that record withing a gallery (as I can deduct by your Select(Parent) formula), you can always use expressions as:

  • Set(varName,Thisitem)-This will store the full record with all the fields.
  • Patch(dataSourceName, Thisitem, {field1: field1value, field2: field2value,...})- To modify that record in particular.

Hope this helps.

View solution in original post

Thanks, Cheers @FernandoTC 

Helpful resources

Announcements
News & Announcements

Community Blog

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

Power Apps Community Call

Power Apps Community Call- January

Check out the Power Apps Community Call for January 2021

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (6,871)