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

Community site session details

Session Id : SWnK8pQj4sEaegdQYUPWxl
Power Apps - Building Power Apps
Answered

Pie chart from Sharepoint choice column

Like (0) ShareShare
ReportReport
Posted on 6 Sep 2021 13:41:58 by 12

Hi all, I am a newbie when it comes to Power Apps and am struggeling with getting information from a choice column into a pie chart.

 

The choice column is called "Saksstatus" and has four different choices:

 

Registrert

Lukket

Tiltak planlagt

Tiltak utført

 

The list is called "Registreringer"

 

I need a pie chart with the total number of each row with the different choices.

 

I have played around with AddColumn and GroupBy functions to no avail.

 

Anyone able to help? 

 

I have the same question (0)
  • AmyF Profile Picture
    235 on 29 Aug 2023 at 13:20:52
    Re: Pie chart from Sharepoint choice column

    I'd like to know that too.  Did you ever find that solution?

  • Clewsy Profile Picture
    4 on 20 Apr 2023 at 12:59:25
    Re: Pie chart from Sharepoint choice column

    I can get this to work fine, but would I modify to function to also show blank choices?

     

    cheers

  • Community Power Platform Member Profile Picture
    on 23 Aug 2022 at 19:06:31
    Re: Pie chart from Sharepoint choice column

    Thanks! 

    I have an additional dilemma.

     

    In my SharePoint list, I have a text column named "Country".

    In my app I have a dropdown which delivers a variable called "SelectedCountry" using formula Set(SelectedCountry,Country_selection.Selected.Result)

     

    I'm trying unsuccessfully to add a filter to the chart formula, so the chart only displays data where the column "Country" is equal to "SelectedCountry"

     

    Any help is appreciated! 

  • SunilPrakash Profile Picture
    18 on 05 Jul 2022 at 17:19:05
    Re: Pie chart from Sharepoint choice column

    Is there any way to show percentages for the same text out of Hundred% ?

  • cagmiterek Profile Picture
    2 on 30 Mar 2022 at 00:09:16
    Re: Pie chart from Sharepoint choice column

    Hi! I could use your help too. 

     

    How would I do this but with a list that has multiple words? I try to input MY list name with the words connected, and it's showing the error. 

     

    Thank you so much! 

  • Binntore Profile Picture
    12 on 07 Sep 2021 at 09:48:56
    Re: Pie chart from Sharepoint choice column

    Thank you very much Wearsky, it worked like a charm 🙂

  • Verified answer
    v-xiaochen-msft Profile Picture
    on 07 Sep 2021 at 01:35:30
    Re: Pie chart from Sharepoint choice column

    Hi @Binntore ,

     

    I did a demo for you.

    1\ This is my list.

    vxiaochenmsft_0-1630978471447.png

     

    2\ Add a pie chart and set its Items property to:

    ForAll(Choices(LIST165.Saksstatus) As A,{Number:CountIf(ForAll(LIST165,ThisRecord.Saksstatus.Value) As B,B.Value=A.Value),Value:A.Value})

     

    3\ The result is as follows:

    vxiaochenmsft_1-1630978508276.png

    vxiaochenmsft_2-1630978517991.png

     

    Best Regards,

    Wearsky

     

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 892 Most Valuable Professional

#2
Power Apps 1919 Profile Picture

Power Apps 1919 356

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 310 Super User 2025 Season 2

Last 30 days Overall leaderboard
Loading complete