Jim
Hope you can help me.
Formula:
sum(xdMath:Eval(xdXDocument:GetDOM("Full_Download")/dfs:myFields/dfs:dataFields/dfs:Full_Download/@SP-ProcessAreas[. = xdXDocument:get-DOM()/my:myFields/my:field2 and ../@_.Project_Status = xdXDocument:get-DOM()/my:myFields/my:field3 and ../@SP-SubProcess = current()/../my:field9], "@SP-FOL1"))
Field2 is Infopath field Process Area
Field3 is Infopath field Project Status
Field9 is Infopath field Sub Process
@SP-ProcessAreas is Secondary Data sources
@_.Project_Status is Secondary Data Sources
@SP-SubProcess is Secoundary Data Sources
What I am trying do:
Excel Sumproduct Example :
Sumproduct((SP-ProcessArea=Field2)*(_.ProjectStatus=Field3)*(SP-SubProcess=Field9)*SP-FOL1)
When I validated above XPath Expersion it display no error in formula. However when I run the form it display an error as Nan.
Your help in this much apprciated.