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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Group By, expected tex...
Power Apps
Unanswered

Group By, expected text value error

(0) ShareShare
ReportReport
Posted on by 920 Super User 2024 Season 1

Hi,

 

I use this statement fine - 

GroupBy('Scheduling List',"field_2","Title")

 

then when I want to use ThisItem.Title in a label I get error "Expected Text Value".

 

However I can use ThisItem.field_2 just fine.

 

Any reason why?

Categories:
I have the same question (0)
  • SpongYe Profile Picture
    5,603 Super User 2025 Season 2 on at

    Use the First function to get the first record from the Title column, and then use the Value property to get the text value from that record:

    GroupBy(
     'Scheduling List',
     "field_2",
     First(ThisItem.Title).Value
    )

    If you have any questions or feedback, please let me know. Have a great day! 😊

    -----------------------
    PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]

    I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻

     

  • wonka1234 Profile Picture
    920 Super User 2024 Season 1 on at

    @SpongYe 

     

    getting error still -

     

    wonka1234_1-1698938233854.png

     

  • timl Profile Picture
    36,383 Super User 2025 Season 2 on at

    @wonka1234 

    If you add a label to your gallery control and set the Text property to the following, that should hopefully work.

    First(ThisItem.Title).Title

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard