Benjamin Lahsen
Benjamin Lahsen

Reputation: 37

How can I reference an item within recordholder in Power Apps?

I joined two collections and the result comprises columns type text and 1 column with type recordholder as the image shows. enter image description here. If I open this record holder I can see the column that I am interested in that is called Proyecto: enter image description here, but I don't know how to access to this particular field. I tried ThisItem.recordHolder, Thisitem.recordHolder.proyecto, Thisitem.recordholder[@proyecto] but none of them work.

Thank you for your help

Upvotes: 1

Views: 823

Answers (2)

Benjamin Lahsen
Benjamin Lahsen

Reputation: 37

I solved it using the ungroup() function. I couldn't reference the elements inside Recordholder by using '.' neither '[]'. Ungroup() is the solution to expand the table and then you can call any element inside using the traditional way.

Upvotes: 1

mmikesy90
mmikesy90

Reputation: 981

In PowerApps fields in nested or resulting tables can be referenced like:

ThisItem.recordHolder.Value.proyecto

or

Thisitem.recordHolder.Result.proyecto

Upvotes: 0

Related Questions