Sum values in repeating table based on drop down selection - InfoPath Dev Sign in | Join | Help in General InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » General » Sum values in repeating table based on drop down selection Sum values in repeating table based on drop down selection Last post 03-10-2015 08:29 AM by DDEBBABY. 2 replies. Page 1 of 1 (3 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 03-10-2015 08:09 AM DDEBBABY Joined on 03-10-2015 Posts 62 Sum values in repeating table based on drop down selection example.xsn Reply Contact Please help I has a repeating table that has severla fields on it. There is a sum field based on quanity of units field that curently sum of anything in the QTY FIELD. I need to change this to sum based on what is selected from the lead type and sum only that lead type. Does anyone hav any suggestions ? 03-10-2015 08:21 AM In reply to Hilary Stoupa Joined on 06-20-2008 Posts 13,297 Re: Sum values in repeating table based on drop down selection Mark as Not AnswerMark as Answer... Reply Contact So - field2 should be the sum of Qty where Lead Type is equal to field4? sum(../my:details[my:leadType = current()/../my:field4]/my:qty) Hilary Stoupa 03-10-2015 08:29 AM In reply to DDEBBABY Joined on 03-10-2015 Posts 62 Re: Sum values in repeating table based on drop down selection Mark as Not AnswerMark as Answer... Reply Contact Omg thanks so much that is exactly what I was looking for!!!!! You are a life saver :) Page 1 of 1 (3 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
Please help I has a repeating table that has severla fields on it. There is a sum field based on quanity of units field that curently sum of anything in the QTY FIELD. I need to change this to sum based on what is selected from the lead type and sum only that lead type. Does anyone hav any suggestions ?
So - field2 should be the sum of Qty where Lead Type is equal to field4?
sum(../my:details[my:leadType = current()/../my:field4]/my:qty)
Omg thanks so much that is exactly what I was looking for!!!!! You are a life saver :)