cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nobosy
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
FernandoTC
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
FernandoTC
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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,186)