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 / LineChart grouping and...
Power Apps
Unanswered

LineChart grouping and averaging

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

I have a table as follows:

SatisfactionValueEnvironmentTeamDate
889A10/03/2019
389B09/03/2019
741A11/03/2019
333A11/03/2019
101010B11/03/2019

 

and want to create a graph to summarize that information....grouping and averaging by team and date, and filtering by Team.

So the final table should look like this:

 

SatisfactionValueEnvironmentTeamDate
889A10/03/2019
53,52A11/03/2019
741B09/03/2019
333B11/03/2019

 

but the graph should only show team A or B depending on user selection.

I have been playing with the Items property of my LineChart, but can't make it work.

 

Any ideas?

Thanks!

M.

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    Not sure what your GroupBy formula looks like, but you can simply apply a Filter to the Datasource that is the core of that GroupBy.  Ex:

       GroupBy(Filter(yourDataSource, Team="A"), ...

     

    Of course you'd probably have this team information come from a dropdown or other source, but you'd just need to replace the Team="A" with the Team=yourControl-value

     

    I hope this is helpful for you.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @RandyHayes , 

    thanks for your answer. Forgetting for a moment the filtering...

    My group by looks like:

    GroupBy(TeamSurvey;"Value";"Satisfaction";"Environment";"Date";"Col") and the result is

    one data point per row on my table, not one per month averaging.

    Sorry this is not allowing me to attach images.

    What I need is to average and group by month, so I can show the average value for each month.

    Thanks for your help!

    M.

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

#2
11manish Profile Picture

11manish 193

#3
Valantis Profile Picture

Valantis 138

Last 30 days Overall leaderboard