Skip to main content

Notifications

Power Automate - Building Flows
Answered

Flow to convert a Sharepoint list view to a PDF that includes the sum of a column

Like (0) ShareShare
ReportReport
Posted on 14 Jan 2025 19:04:29 by 4
Hello,
 
I have created a Flow that pulls items from a Sharepoint list and prints them into a PDF table, however I would also like to include the sum of one of the columns (Number of containers) at the bottom of the table. Does anyone have a solution for this?
  • AG-14011859-0 Profile Picture
    AG-14011859-0 4 on 15 Jan 2025 at 14:37:56
    Flow to convert a Sharepoint list view to a PDF that includes the sum of a column
    Thank you, this worked!
     
    I did have to use int() to get the increment variable action to work:
    Then I initialized an array variable out of the rest of my data and used append to array variable to add the total as the last entry.
  • Verified answer
    NickWarner Profile Picture
    NickWarner 96 on 14 Jan 2025 at 19:45:14
    Flow to convert a Sharepoint list view to a PDF that includes the sum of a column
    Before your create a table action you can use a variable to sum the columns in your list by apply to each and incrementing. This is bit of a slow approach so if you've got 100s of rows its not ideal but it will give you a result. you would then use the variable in your table. I've used ID as the value for a quick mockup, you would use your number of containers columns there.
     

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

End of Year Newsletter…

End of Year Community Newsletter…

Tuesday Tip #12 Start your Super User…

Welcome to a brand new series, Tuesday Tips…

Tuesday Tip #11 New Opportunities…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 144,638

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,433

Leaderboard
Loading started