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 Function work...
Power Apps
Unanswered

Group By Function working weird with Dataverse columns

(0) ShareShare
ReportReport
Posted on by 4
Hi All,
 
I am working on an app with Dataverse as a source. I am trying to use group by function to filter data and get the sum of values based on the grouped data. Please find the code below.
 
ClearCollect(colEffortRecSummary,GroupBy(Filter(GHRSREQM_EffortRecordingTables,MainRequestGUID=Text(gvarHRSRequestGUID)),mmi_party,mmi_application,mmi_role,groupeditems));  //Grouping by three columns called Party, Application and Role and groupeditems is the name of the groupeddata. 
 
The above code works  fine and satisfies my requirement. 
 
I observed a weird thing that suddenly after each save of the application or after some time , the code just randomly gets modified to the below at the places in the app.
 
ClearCollect(colEffortRecSummary,GroupBy(Filter(GHRSREQM_EffortRecordingTables,MainRequestGUID=Text(gvarHRSRequestGUID)),Party,Application,Role,groupeditems)); 
 
There is no error being shown but this code does not bring out the groupedvalues and is not working as per my requirement. mmi_party become Party , mmi_role becomes Role, mmi_application becomes Application. 
 
Please need your help with this code. 
 
Thanks in advance.
 
 
I have the same question (0)
  • ronaldwalcott Profile Picture
    3,847 Super User 2025 Season 2 on at
    Curious, Are mmi_party and Party the logical and display names for a column?
  • manoj8586 Profile Picture
    4 on at
    Yes they are @ronoldwalcott. Do you know why is this happening or any alternative to the code ?
  • ronaldwalcott Profile Picture
    3,847 Super User 2025 Season 2 on at
    I figured they were the logical and display names, but I have no idea why this would happen.
    Log it with support as it is possibly a bug.

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 386 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 361

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 339 Super User 2025 Season 2

Last 30 days Overall leaderboard