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 / Data from SharePoint t...
Power Apps
Answered

Data from SharePoint to create chart

(0) ShareShare
ReportReport
Posted on by

Hi, I am trying to create a graph but I think I need help...I keep getting an error and don't seem to be getting the data from sharepoint. I think I check the obvious with the naming...Thanks!

The sharepoint is "Projects" and the column is "Group"

Clear(colCountryProjectCounts);

ForAll( GroupBy(Projects, "Country", "GroupedProjects"),

Collect(

colCountryProjectCounts,

{ Country: GroupedProjects[0].Country, ProjectCount: CountRows(GroupedProjects) }

)

)


Categories:
  • Verified answer
    v-wenjuan-msft Profile Picture
    Microsoft Employee on at

    Hi @Jota1888 ,

     

    Try to replace the highlight part to ThisRecord

    { Country: GroupedProjects[0].Country, ProjectCount: CountRows(GroupedProjects) }

    vwenjuanmsft_0-1687748159097.png

     

    Community Support Team _ Wenjuan Zou

    If this post helps, then please consider Accept it as the solution to help the other members find it.

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 383 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 356

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard