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 / Creating Graphs from S...
Power Apps
Answered

Creating Graphs from SharePoint List

(0) ShareShare
ReportReport
Posted on by 21

Hi guys,

I have made comprehensive application by taking inputs from one SharePoint list (Inputs list for my dropdowns) and patch data for repository into another SharePoint list. Now as a last step, I want to make some graphs (Colunm Chart). The problem I am facing is the structure of data stored in SharePoint list. I want to draw a column chart that will displayed the status of two KPIs (STD & LTD) based on Unit e.g. Unit-1 has two STDs, Unit-2 has zero STD and Unit-3 has 4 LTD. However, the data present in sharepoint list is in a status column against each Unit e.g Unit-1 has STD, Unit-2 has LTD etc. rather than count. Please look at the attchment to better understand this. 

Can someone please help me how to transform this data. I am attaching the screenshot of existing data structure and desired data structure. Any workaround would be appreciated!

 

Existing Date in SharePoint ( there are many columns, i only showed columns of interest)

Existing .jpg

This is what I think the data should be organized in order to produce the desire column chart:

Required.jpg

This is the desired column chart I want:

Chart.jpg

Categories:
I have the same question (0)
  • Ahmad322 Profile Picture
    21 on at

    Someone help, please I have a strict timeline.

  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @Ahmad322 ,

     

    Let's say Unit is a text field and Status is a choice field and I made a sample.

    vxiaochenmsft_0-1669603312083.png

    vxiaochenmsft_1-1669603341029.png

    vxiaochenmsft_0-1669616617496.png

     

     

    AddColumns(AddColumns(GroupBy(LIST290,"Unit","temp"),"STD",CountRows(Filter(ThisRecord.temp,Status.Value="STD"))),"LTD",CountRows(Filter(ThisRecord.temp,Status.Value="LTD")))

     

    vxiaochenmsft_2-1669603364715.png

     

    Best Regards,

    Wearsky

  • Ahmad322 Profile Picture
    21 on at

    @v-xiaochen-msft Thank you so much it worked

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#2
11manish Profile Picture

11manish 489

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard