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

(0) ShareShare
ReportReport
Posted on 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 at
    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 113 on at
    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

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

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,909

Leaderboard