Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Answered

power apps column chart

(0) ShareShare
ReportReport
Posted on by 94

Hi Community,

 

I'm working on an internal project for Task trackers where I have created a power app and one of the screens wants to display the data in a column chart. after searching on the web and community was not able to find any help.

I have a SharePoint list as Datasource from which I have created a collection for only 3 fields of the entire list out of which 2 are choice columns (field_3 and filed_10) namely and Date of MI closure as field_1 with the following code 

ClearCollect(
    CollListColumns,
    ShowColumns(
        'PMIT TRACKER OMC AUT',
        "field_1",         // Make sure this column exists and has values
        "field_3",   // Extract the text value from the choice column with spaces
        "field_10"  // Extract the text value from the choice column
    )
)
the Collection CollListColumns is set to items property of the table as below 
vrevankar_0-1695106205308.png

 

now with this collection CollListColumns, I am trying to create column charts that dynamically load data based on the date pickers selected date

Items property of Table is set to 

Filter(CollListColumns,field_1>=DatePicker1.SelectedDate&&field_1<=DatePicker2.SelectedDate) which loads the data in the table based on the selected date.
now here is what I'm not able to achieve when trying to create a code for my items property of the column chart
with the following code 
AddColumns(
    GroupBy(
        Filter(
            'CollListColumns',
            field_1 >= DatePicker1.SelectedDate && field_1 <= DatePicker2.SelectedDate
        ),
        "field_3",
        "Group"
    ),
    "Count",
    CountRows(Group)
) This is throwing an error stating that field_3 doesn't exist tried replacing it with original names from the SharePoint name, table name, and all possible ways didn't help please help here to achieve in represent the data or any other ways to show the choice count in chart based on date range.
Thanks in advance vrevankar_1-1695106204471.png

 

  • Verified answer
    v-bofeng-msft Profile Picture
    on at
    Re: power apps column chart

    Hi @vrevankar ,

     

    This issue seems to have been resolved.

    Solved: Re: Power Apps Column Chart with 2 choices column ... - Power Platform Community (microsoft.com)

     

    Best Regards,

    Bof

  • vrevankar Profile Picture
    94 on at
    Re: power apps column chart

    Please help

     

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 85 Most Valuable Professional

#2
mmbr1606 Profile Picture

mmbr1606 55 Super User 2025 Season 1

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 52 Super User 2025 Season 1

Overall leaderboard