cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
WorkHard
Super User
Super User

How to hide i:0#.f|membership| from an item list?

I used this a while ago in a previous app and I have no issues with it. However on the new app, all the names are prepended with "i:0#.f|membership|". How do I remove this and just display the Display Name of the user?

Am I using the method incorrectly?

Sort(
  ForAll(
    GroupBy(
        Ungroup(
            ForAll(myListSharePoint,
                {Items: 'People Field'}
            ),
            "Items"
        ),
        "DisplayName", "_people"
    ),
    Patch(First(_people), {DisplayName: DisplayName})
  ),
  DisplayName
)

 

WorkHard_0-1660065607569.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
BCBuizer
Super User
Super User

Hi @WorkHard,

 

This seems like a ComboBox. Are you sure the DisplayFields property is set for the right column?



Did you like my post? Please give it a thumbs up! Did I resolve your issue? Please click Accept as Solution to close the topic and so other members of the community can find solutions more easily.

View solution in original post

2 REPLIES 2
BCBuizer
Super User
Super User

Hi @WorkHard,

 

This seems like a ComboBox. Are you sure the DisplayFields property is set for the right column?



Did you like my post? Please give it a thumbs up! Did I resolve your issue? Please click Accept as Solution to close the topic and so other members of the community can find solutions more easily.

DisplayFields was indeed improperly set. Appreciate the help!

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

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