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 / power apps column chart
Power Apps
Unanswered

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

 

I have the same question (0)
  • vrevankar Profile Picture
    94 on at

    Please help

     

  • Verified answer
    v-bofeng-msft Profile Picture
    on at

    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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard