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 / Show Month wise record...
Power Apps
Unanswered

Show Month wise records in column chart in canvas app

(1) ShareShare
ReportReport
Posted on by 10
 
Hi  Team,
     I have requirement to show the month and year on X-axis of column chart and created record count on Y-axis in canvas app.
Dataverse table contains account table. It contains account name, account create date.
Dataverse Data is 
 
Account Name Created Date
Acme Inc. 2023-01-10
GlobalTech 2023-01-25
Innovators 2023-02-15
StarTech 2023-02-20
FutureWorks 2023-03-05
 
 
Added to canvas app . My requirement is show the  month wise created records in column chart. 
Added    X-Axis = Month name, Y-Axis  =Created  Records Count.
Using Below code in chart items property but getting error.
 
AddColumns(GroupBy(AddColumns('Account Head',"MonthName",
       Text(Month(['Created Date])',"[$-en-US]mmmm")),
       "MonthName","MonthlyRecords"
    ),
        "RecordCount",CountRows(MonthlyRecords)
)
 
but getting errors provide correct solution to my requirement.
 
Thanks in advance for quick response.
I have the same question (0)
  • WarrenBelz Profile Picture
    152,827 Most Valuable Professional on at
    Show Month wise records in column chart in canvas app
    You do not need quotes "" around either AddColumns or GroupBy parameters. You also do not need Month in the Text format as you are already stiplating this.
    AddColumns(
       GroupBy(
          AddColumns(
             'Account Head',
             MonthName,
             Text('Created Date',"mmmm")
          ),
          MonthName,
          MonthlyRecords
       ),
       RecordCount,
       CountRows(MonthlyRecords)
    )
     
    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee
  • WarrenBelz Profile Picture
    152,827 Most Valuable Professional on at
    Show Month wise records in column chart in canvas app
    Just following up to see if you received the answer you needed, or if you require further assistance.

    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee

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

Coming soon: forum hierarchy changes

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 308 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 222 Super User 2025 Season 2

Last 30 days Overall leaderboard