Quantcast
Channel: SYNCHRO Construction Solution
Viewing all articles
Browse latest Browse all 6333

Forum Post: RE: Calculation result does not make sense

$
0
0
Hi Edgar, I found that the SUM function in SYNCHRO script is just do SUM for the first Number. So SYNCHRO will do calculation : SUM(TASK.PROPERTY("BL Planned % Complete") and ==> get 136.97 /100.0 and ==> get 1.3697 *TASK.UFV("Discipline Weightage")*1.0) ==> get 1.3697 x 10.47 = 14.340759 (10.47 is first value of Discipline Weightage) To do your calculation... I can do in 2 parts / script. Step 1: Create a new UFV for the calculation, TASK(NUM_CHILDREN == 0) ASSIGN_UF("Sub-task total", FLOAT, PROPERTY("BL Planned % Complete")/100.0*UFV("Discipline Weightage")*1.0) Step 2: Do SUM TASK(UFV("% Cal Mode")>="DISC" ) ASSIGN_UF("BL % Completed", FLOAT, SUM(TASK.UFV_ZERO("Sub-task total")) Hope this help. Best regards, Indrawan

Viewing all articles
Browse latest Browse all 6333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>