Rule taking more time to load the cube view
Posted: Fri Aug 25, 2017 4:19 pm
Hi I have a dimension which has elements like
Beginning Balance , Ending Balance and All Movement Type.
Ending balance is the consolidation of Beginning balance and All Movement types .
Now there is a dimension called stock category which has values like Blank or in transit .
For intransit the cost is calculated at the time of load itself , but for blank category we have a rule to calculate the cost based on quantity .
And everymonth the values are carried over from Ending balance to Beginning balance of next month .
the rule I used to do the cost calculation is below , This rule is taking more time to open the view
['Ending Balance','Inventory Stock Category':'Blank','Total Extended Cost']= ['Total Qty on Hand','Inventory Stock Category':'Blank']* DB('Cost Sets' ,cost);
['Total Qty on Hand'] => ['Total Extended Cost'];
Any suggestions or if more detail is required please let me know .
Beginning Balance , Ending Balance and All Movement Type.
Ending balance is the consolidation of Beginning balance and All Movement types .
Now there is a dimension called stock category which has values like Blank or in transit .
For intransit the cost is calculated at the time of load itself , but for blank category we have a rule to calculate the cost based on quantity .
And everymonth the values are carried over from Ending balance to Beginning balance of next month .
the rule I used to do the cost calculation is below , This rule is taking more time to open the view
['Ending Balance','Inventory Stock Category':'Blank','Total Extended Cost']= ['Total Qty on Hand','Inventory Stock Category':'Blank']* DB('Cost Sets' ,cost);
['Total Qty on Hand'] => ['Total Extended Cost'];
Any suggestions or if more detail is required please let me know .