web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / LineChart ClearCollect...
Power Apps
Unanswered

LineChart ClearCollect syntax error

(1) ShareShare
ReportReport
Posted on by 2
Greetings
 
I am trying to populate the PowerApps line chart with submissions from a SharePoint list and sort by month.
 
I have added the following Syntax to the properties of OnStart:
 
ClearCollect(CREQE_FormCollection, CREQE_Form);
ClearCollect(
    CREQE_FormWithMonthYear,
    AddColumns(
        CREQE_FormCollection,
        "MonthYear",
        Text('Date of Request', "[$-en-US]yyyy-mm")
    )
);
ClearCollect(
    GroupedData,
    AddColumns(
        GroupBy(
            CREQE_FormWithMonthYear,
            "MonthYear",
            "GroupedItems"
        ),
        "MonthlyTotal",
        Sum(GroupedItems, SubmissionAmount)
    )
);
 
Immediately I got multiple errors:
 
 
Your assistance is highly appreciated
 
 
 
Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    155,955 Most Valuable Professional on at
    This seems to be the same question as this thread

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 305 Most Valuable Professional

#2
11manish Profile Picture

11manish 212

#3
Valantis Profile Picture

Valantis 167

Last 30 days Overall leaderboard