Sum a field if it meet a condition - InfoPath Dev
in

InfoPath Dev

Sum a field if it meet a condition

Last post 01-08-2011 07:31 AM by Jimmy. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 01-07-2011 04:51 AM

    Sum a field if it meet a condition

    can you run a SumIf statement in a inforpath form.  Ihave a form that i insterted a sum field in the footer of the repeating table, which I have a date filter applied to.  Howeer it the sum field sum all of the records not the filtered records.  I understand why I'm getting this result, because the filter only effects the display of the record and does not remove it from the record set.  so the question is can i sum on the filtered data

  • 01-08-2011 06:01 AM In reply to

    Re: Sum a field if it meet a condition

    i added an expression box with the following "sum("@Maor-count[@Facility=site]")" and i get the follow error

    Expected alue type end-of-string

    Actual value: name

    "Sum("--->dfs:dataFields<---/d:SiteDashBoard-2/@Major-count[../@Facility = ../../../my:site]")"

  • 01-08-2011 07:31 AM In reply to

    Re: Sum a field if it meet a condition

    Try removing all those quotation marks.

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.