web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to convert record ...
Power Apps
Answered

How to convert record type into the text type

(0) ShareShare
ReportReport
Posted on by 133

Hi, guys! I have two collections, collection1 and collection2. In collection 2 there are all of our employees. I need to generate a report where there are Partners, managers and employees. At first I get users into collection1, whose "Manager" column  = One of our Partners name. Then i want to loop through this collection(collection1) and  add users from collection2, whose "Manager" column equals to the people from the collection1. The problem is I am not able to use "=" sign between collection2.Manager and collection1.Manager columns. Collection1.Manager is record type and needs to be text type. Any ideas how to work this out?

Categories:
  • KroonOfficeSol Profile Picture
    587 on at

    The manager is a record and a record has properties. So you can probably use 

    collection1.Manager.Property

     

    To get the text property you want to use in your condition. 

  • KotaroKo Profile Picture
    133 on at

    Hi, @KroonOfficeSol . Thank you, but unfortunately, It doesn't work.  It says: "Name isn't valid. The identifier is not recognized"...

  • KroonOfficeSol Profile Picture
    587 on at

    Add some screenshots please, so we can see the error messages.

     

    Maybe collect one record and take a screen shot of the collection preview.

  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @KotaroKo :

    The key point is disambiguation.

    I suggest you use

     

    RenameColumns(collection2,"Manager","TheManager")

     

    instead of 

     

    collection2

     

    In addition,you can also use the disambiguation operator.

    I think this link will help you a lot:

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/operators#disambiguation-operator

    Best Regards,

    Bof

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 360 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 325

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard