Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Experimental Features
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.
  • WarrenBelz Profile Picture
    148,294 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
  • WarrenBelz Profile Picture
    148,294 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

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 770 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 494

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 399

Featured topics