Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Question on Reducing Calculation Time on Script

Zut AlorsJan 20 2020 — edited Jan 28 2020

Greetings,

I have a calc script which takes 50 mns to run and would like to reduce the time it takes to run by about half.  I've tried various things such are adding calcparallel and calctaskdim, which helps a bit.  Below is a simplified version of the script.

The issue arises when running this script for all 50 states (plus some additional entries for international regions) - basically I need to sum up all states/regions into geo_combined and then perform some additional math (not shown here).  Just the @sum() adds a lot of time to the calculation.  Any input to improve on this simple calc is greatly appreciated...  Thank you.

fix( @relative( "year total", 0), working, @relative(account, 0 ) )

fix( @relative("cost center", @list( "geo_fl", "geo_ark", "geo_alaska", etc )

     "geo_combined" = @sum( "geo_fl", "geo_ark", "geo_alaska", etc) * some_math...

endfix

endix

regards,

cl

This post has been answered by user111989 on Jan 21 2020
Jump to Answer

Comments

Processing