Greetings
I am trying to sort SharePoint Submissions by month and populate a LineChart in Power Apps.
This is my syntax and for some reason, it is giving me multiple errors.
I have it placed in the properties of Onstart as follows:
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)
)
);
Errors are saying invalid names and invalid, arguments; I am so confused right now. Please help me.
Thanks