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 / Column Chart with IF s...
Power Apps
Unanswered

Column Chart with IF statement

(0) ShareShare
ReportReport
Posted on by 140

Hello all,

 

I want to use column chart with my sharepoint list. You can think my list as below;

test1.jpg

 

According to this list, I want to create a column chart like this;

I want to show "approval status" information as column according to ID information. For example, two column charts should appear for ID55.

Normally this ID information comes from another sharepoint list (with gallery_X.selected). I need to send query with this ID to another sharepoint lists (also another gallery). Because ID column common these to sharepoint lists.

 

How can I handle this?

Categories:
I have the same question (0)
  • ernu Profile Picture
    140 on at

    Does anyone have an idea? 🙂

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    So do u bassicly want to GroupBy Approval status based on ID? Or do i see this incorrectly. Please explain a bit more possible manually create an expected output and show that.

  • ernu Profile Picture
    140 on at

    For example;

     

    I selected ID-55 project in a different sharepoint list (in powerapp) and after that will open a new screen in app.

    In this scren, I want to show column chart but with different list source (as this table). I know selected ID-55's project and need to get these ID's "Approval Status" quantities and then send to column chart. But this Approval status quantities in the different sharepoint list..

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Are there any relations between the 2 lists? If not how would u know which status is connected to which id?

  • ernu Profile Picture
    140 on at

    Yes, there is a relations these 2 lists.

    ID and Project Name common columns in these lists.

     

    So, if I can write the script like "ıf this ID and Project name equal to X and Y, get the total Approval Status of this ID and Project name.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    U should be able to do this pretty easily using placeholder items. Such as a dropdown or combobox.

    List 1: list1
    list1_id(PK)

    List 2: list2
    list2_id(PK)
    list_name
    list_status
    list1_id(FK)

    I think i have exactly the same setup as u except i use SQL Server instead of Sharepoint.
    Can u send me the lists written out as the example above? Or a simple list of both without the FK but just show the relation between the 2 lists. When u've done this i should be able to write u a workflow which gets your outcome. 

  • ernu Profile Picture
    140 on at

    First of all thanks for your interest and answer.

    Actually I can focus on the my main list for now. You can see a sample list like my original list in below.

     

    ernu_0-1674632757857.png

     

    I have Project ID, Project Name, Project Documents, Documents Level and Document Approval Status..

    I need some visualize and get insight from this list. Like;

    - How many L1 level documents does project 8 (ID) have?

    - How many documents are waiting for approval in project 10?

     

    I can increase the examples. But I don't want graphs to summarize the whole list. I want customized graphics that will depend on the selected ID and project name. Maybe I explained better now 🙂

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I now fully understand what u want to create. May i suggest using PowerBI for this? It is more suited for the thing you are trying due to being focussed on visualization. It is probably possible in PowerApps but if u just want to show graphs and make a dashboard then PowerBI is better. If that is not an option for you i will see if i can recreate your dataset and make it work.

  • ernu Profile Picture
    140 on at

    Actually, I prefer the power Apps solution primarily because of want to manage over just one application/platform.

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!

Leaderboard > Power Apps

#1
wolenberg_ Profile Picture

wolenberg_ 119 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 107 Most Valuable Professional

#3
Haque Profile Picture

Haque 103

Last 30 days Overall leaderboard