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 :
Power Platform Community / Forums / Power Apps / Can we write a formula...
Power Apps
Unanswered

Can we write a formula inside the ColumnChart Series, is it possible

(0) ShareShare
ReportReport
Posted on by 1,803 Super User 2024 Season 1
I have this SharePoint list which contain 2 columns:-
 
1) Target Amount
2) Actual Amount
 
now i can showing them inside a Column chart inside a vertical gallery as follow:-
 
 
 
Now i do not want to show numbers, instead i want to show percentages, mainly to divide the (Actual Amount / Target amount) and show this percentage inside a column + second column showing 100. is this possible? mainly if i can define formula inside the Series? or i need to create 2 additional columns inside the list? one which is calculated (Actual Amount / Target amount) and one with a static value of 100?
 
Thanks
Categories:
I have the same question (0)
  • Suggested answer
    Garima_PowerPlatform Profile Picture
    170 on at
    Can we write a formula inside the ColumnChart Series, is it possible
    Hi

    Yes, you can display percentages inside a column chart in PowerApps without needing to add extra columns in your SharePoint list. You can define the formula directly in PowerApps to calculate the percentage (Actual Amount / Target Amount) and use that within the chart's series.

    [
        {
            "Name": "Actual",
            "Value": ThisItem.'Actual Amount' / ThisItem.'Target Amount' * 100
        },
        {
            "Name": "Target",
            "Value": 100
        }
    ]

    Set item property of the chart

    yourgalleryname .AllItems
     
  • johnjohnPter Profile Picture
    1,803 Super User 2024 Season 1 on at
    Can we write a formula inside the ColumnChart Series, is it possible
     
    Thanks for the reply, but where i need to add this formula?
     
    [

        {

            "Name": "Actual",

            "Value": ThisItem.'Actual Amount' / ThisItem.'Target Amount' * 100

        },

        {

            "Name": "Target",

            "Value": 100

        }

    ]

     
     
    you mean to build a collection containing those new fields? if so, then i am not sure if this will work as the collection can hold up to 2 k items..
     
    or this will be within each gallery item?

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 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard