Sum a repeting column in footer cell - InfoPath Dev
in

InfoPath Dev

Sum a repeting column in footer cell

Last post 09-23-2008 07:40 AM by xtothez. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 09-22-2008 04:51 PM

    Sum a repeting column in footer cell

     Hi guys and gals,

     

    I currently working on a purchase requisition for a sharepoint site. Essentially, i have a repeating table that lists the item number, the quantity of the items, description, unit price of the item and finally a final cell with the calculated value of Quantity * Unit price called extended price. I added a footer with 6 rows (shipping,discount,subtotal,GST,PST and Total) to the repeating table. I am desperately trying to sum the values of the Extended Price cell into the subtotal cell in my footer. I can't calculate anything from the Extended Price because i cannot select the Extended Price field when required. It's within a group and i can't get access to it.

     What am i doing wrong? Can anyone help?

  • 09-23-2008 07:20 AM In reply to

    • jrudolph
    • Top 150 Contributor
      Male
    • Joined on 07-02-2008
    • Orlando, FL
    • Posts 67

    Re: Sum a repeting column in footer cell

    I would try something like this

    Item
    Amount of Item
    ItemTotal
    Shipping fx = your value
     
    Discount
    fx = your value
     
    Subtotal
    fx = sum(ItemTotal) + Shipping + Discount
     
    GST
    fx = your value
     
    PST
    fx = your value
     
    Total
    fx =Subtotal + GST +PST
     
     
     

  • 09-23-2008 07:40 AM In reply to

    Re: Sum a repeting column in footer cell

     Thanks for the reply, I actually just found how to do it. When entering the formula, i had to use the full path of the "Item Total" field which was sum(../my:items/my:item/my:ExtPrice) and everything worked out great.

     

    Thanks again.

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.