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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Creating Graphs from S...
Power Apps
Unanswered

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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard