cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Choice Data from Sharepoint

I have a choice column in SharePoint that I would like to make into a chart in Power apps. I have this so far, but it is showing the ID in the series instead of summing up how many times that choice was selected. How do I get it to display that information. Thank you

TeacherHartman_0-1663726966567.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-xiaochen-msft
Community Support
Community Support

Hi @Teacher-Hartman ,

 

I did a sample for you.

vxiaochenmsft_0-1663738318900.png

vxiaochenmsft_1-1663738339322.png

AddColumns(GroupBy(AddColumns(LIST276,"Choice",Test_Choice.Value),"Choice","temp"),"count",CountRows(temp))

 

Best Regards,

Wearsky

View solution in original post

3 REPLIES 3
v-xiaochen-msft
Community Support
Community Support

Hi @Teacher-Hartman ,

 

I did a sample for you.

vxiaochenmsft_0-1663738318900.png

vxiaochenmsft_1-1663738339322.png

AddColumns(GroupBy(AddColumns(LIST276,"Choice",Test_Choice.Value),"Choice","temp"),"count",CountRows(temp))

 

Best Regards,

Wearsky

It worked! Thank you so much!

HI! I had it working, but I had to change the sharepoint list that I was using. The column remained the same in the new list, but when I plugged in the new list name, it came back with an error. Can you see my mistake? Thank you 

 

AddColumns(GroupBy(AddColumns('Experience Approval',"Outcomes",'Learning outcome'.Value),"Outcomes","temp"),"count",CountRows(temp))

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (1,889)