Skip to main content

Notifications

Power Automate - Building Flows
Answered

Sum a column consolidating various results

(0) ShareShare
ReportReport
Posted on by 288

Hello Community,

 

I have a Sharepoint Odata and I want to sum a column, but I want the result or Compose to be by type or classified, as in the example.

The problem that my flow adds everything, obtaining only one result and not three as in the example.

Consider that in the future more elements of the column "Recurso" can be added.

 

fgonzalez515_0-1626741439327.png

 

 

This is my flow

fgonzalez515_1-1626741531543.png

 

I request help from the community

 

  • fgonzalez515 Profile Picture
    fgonzalez515 288 on at
    Re: Sum a column consolidating various results

    Hi @v-bofeng-msft,

     

    Thanks.

  • Verified answer
    Re: Sum a column consolidating various results

    Hi @fgonzalez515 :

    Please check the number of items returned by "get items" action.

    Did you use Filter Query in your "get items" action?

    Best Regards,

    Bof

  • fgonzalez515 Profile Picture
    fgonzalez515 288 on at
    Re: Sum a column consolidating various results

    Hi @v-bofeng-msft,

     

    That's right, I had it configured in the beginning.

     

    fgonzalez515_0-1627959416045.png

     

    What can be?

     

  • Re: Sum a column consolidating various results

    Hi @fgonzalez515 ï¼š

    Please try:

    vbofengmsft_0-1627958656139.png

    Hope this link hepls:

    256 rows limit

    Best Regards,

    Bof

  • fgonzalez515 Profile Picture
    fgonzalez515 288 on at
    Re: Sum a column consolidating various results

    Hi @v-bofeng-msft,

     

    Thanks, i understood my mistake and it was fixed.
    The form of the result is as expected, but I have a problem with the number of items that are considered for the flow. The flow takes fewer items.
    For example for the 'Obra': 29 the items to consider are 287, but the flow takes 22 items.

     

    fgonzalez515_0-1627957410856.png

     

    What could have happened?

     

  • Re: Sum a column consolidating various results

    Hi @fgonzalez515 :

    vbofengmsft_0-1627952611414.png

    Best Regards,

    Bof

     

  • fgonzalez515 Profile Picture
    fgonzalez515 288 on at
    Re: Sum a column consolidating various results

    Hi @v-bofeng-msft 

     

    I found that I was missing a sign for the flow to run, was it the sign?

    fgonzalez515_0-1627950714180.png

     

    But I can't get the expected result.

    fgonzalez515_1-1627950766226.png

     

    That could be happening?

     

     

  • Re: Sum a column consolidating various results

    Hi @fgonzalez515 :

    Please call the correct filed name 

    vbofengmsft_0-1626849395427.png

    You could try:

    IDObra

    or

    Obra

    Or another way of thinking, modify your data source, remove the space in the field name. In many cases, field names with spaces are inconvenient.

    Best Regards,

    Bof

  • fgonzalez515 Profile Picture
    fgonzalez515 288 on at
    Re: Sum a column consolidating various results

    Hi @v-bofeng-msft 

     

    I followed the proposed flow, but I threw this error.

    fgonzalez515_0-1626811322464.png

     

     

    My Flow is this

     

    fgonzalez515_1-1626811701568.png

     

    fgonzalez515_2-1626811738946.png

     

    For the flow, use the columns of my Odata Sharepoint.

     

    Please if you help me with that.

     

  • Paulie78 Profile Picture
    Paulie78 8,407 on at
    Re: Sum a column consolidating various results

    Check out this blog post and video I did on this subject:

    How to sum a SharePoint column 

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,422

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,711

Leaderboard