Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Create Chart by Dates

(0) ShareShare
ReportReport
Posted on by 1,069

I have the following which generates a Chart from all data in a SharePoint List.  Each SharePoint List item has a Created value; so, I would like to also crate a Chart based on Start and End "Created" values.  How do I incorporate into info below?  

 

ForAll(
    GroupBy(
        SLAMChartSummary,
        OMGrp,
        ByGroup
    ),
    {
        OMGrp: OMGrp,
        SumofNoSlams: Sum(
            ByGroup,
            Value(NoSlams)
        )
    }
)
  • Verified answer
    Re: Create Chart by Dates

    Hi @RJF61 ,

     

    Please try:

    ForAll(
     GroupBy(
     AddColumns(SLAMChartSummary,NewCreatedColumn,Text(Created,"yyyy-mm-dd")),
     NewCreatedColumn,
     ByGroup
     ),
     {
     OMGrp: OMGrp,
     SumofNoSlams: Sum(
     ByGroup,
     Value(NoSlams)
     )
     }
    )

     

    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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,526

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard