HI, I am the below to sum up the ProductCost property returned from a datapage list. I am getting incorrect results when more than one row is returned. It seems like it is summing up the the second result twice. i.e. if the first row's product cost is 50 and the second one is 30 then I get a total cost of 60.00.
set .TotalCost = @sum(D_ProductList.pxResults().ProductCost)
I have attached the pxResults from the clipboard.
Can you please advise how to get the correct sum results.
***Edited by Moderator: Pallavi to update platform capability tags***