Hello,
I am trying to write a formula that will filter values for text box controls that match the current Project ID. This example uses the Cost Code associated with the project.
xdXDocument:GetDOM("Charge Codes")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:CostCode[../d:ProjectID = xdXDocument:GetDOM("Projects")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:ID[../d:ProjectID = xdXDocument:get-DOM()/my:myFields/my:ProjectID]]
It actually works, but now the preview takes way too long to load, and when I enter a different project ID, it takes a long time to switch the cost code. I assume it is because my formula is too convoluted, but this was the only way I could get it to work.
Can someone tell me if there is a more efficient formula? Please see attached image. Thanks.