P
Per [Pedalen]
Hi,
I am trying to create a quite complicated expression to summarize a part of
a node set. As I write it below is not working, though I beleive it is the
best way to explain my problem.
I am working in Infopath as it is my interface, and I am using a web service
to collect information from a CRM database. The resulting XML document I am
working on...
sum(May[Phase = "4"] * (Probability[Phase = "4"] / 100))
Phase is phase in the sales cycle; Probability is closeprobability in the
sales cycle.
First of all I want to calculate a weighted value as this example...
(50000 * (90/100)) which should result in 45000.
Second I want to summarize all my calculated values (calculated from my
nodeset).
Does anyone know how to do this in Xpath for Infopath?
I am trying to create a quite complicated expression to summarize a part of
a node set. As I write it below is not working, though I beleive it is the
best way to explain my problem.
I am working in Infopath as it is my interface, and I am using a web service
to collect information from a CRM database. The resulting XML document I am
working on...
sum(May[Phase = "4"] * (Probability[Phase = "4"] / 100))
Phase is phase in the sales cycle; Probability is closeprobability in the
sales cycle.
First of all I want to calculate a weighted value as this example...
(50000 * (90/100)) which should result in 45000.
Second I want to summarize all my calculated values (calculated from my
nodeset).
Does anyone know how to do this in Xpath for Infopath?