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 / How do you get access ...
Power Apps
Answered

How do you get access to the Choice Type in Sharepoint lists I m trying to make a graph

(0) ShareShare
ReportReport
Posted on by 3

I can see how get access to the Choice type on the Gallery card like columnname.value 

 

But now I m trting to make a Pie Cart of all items in X status where status is a choice field

I can make a pie cart from the standard feilds that are exposed doing like

AddColumns(GroupBy('Migration Tracking' ,"feild"  ,"Allresults"), "result" , CountRows(Allresults))

 

The Problem is those Choice type columns are not exposed as a column 😞 

Any ideas thanks

 

 

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

    Hi cdstg,

     

    I assume that you will need to combine a Filter function within the code.


    Add a Dropdown control, set its Items property with the selection in your Choice column. In my case, there are three selection in the Status column, so I set its Items property as ["Closed","Pending","Other"].


    Add a Pie chart control, set its Items property as

    AddColumns(GroupBy(Filter(ProjectEmail,Status.Value=Dropdown1.Selected.Value),"Title","Title_1"),"Count",CountRows(ProjectEmail))

    3.PNG

    Hope this could be a reference for you.


    Please try it on your side to see if it will work for you.

     

    Best regards,
    Mabel Mao

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard