Page 1 of 1

Statsby Rule Cube

Posted: Tue Jan 08, 2019 7:12 am
by Chuks
Hi All,
To understand StatsbyRule cube, i created a simple cube with 2 dimensions as shown below
Cube name sample:
sample.PNG
sample.PNG (23.14 KiB) Viewed 2621 times
The cube has a simple rule,
sample2.PNG
sample2.PNG (7.7 KiB) Viewed 2621 times
For the first time, when I turn on the Performance monitor and recalculate the view from Screen shot1, to capture the results in StatsbyRule cube. I see the below screenshot.
sample3.PNG
sample3.PNG (34.75 KiB) Viewed 2621 times
The total run time is 23, and all other factors are 0( which is understood that it has been executed within 1 millisecond)

But what I don't understand is,
1) how the total run time is calculated as 23, whereas the rule is applied only to 12 cells? or does the total run time indicate something else?
2) why there is no run time for Feeder statement?

Thanks in advance!

Re: Statsby Rule Cube

Posted: Tue Jul 23, 2019 12:40 am
by captnknz
The rule is calculating for each cell, not just when there is a value in the dependent cell

Re: Statsby Rule Cube

Posted: Tue Jul 23, 2019 8:44 am
by Steve Rowe
IMO Total Run Count should be 6 as these are the only cells that are fed. But this would be if

A. This is the first time the rule has been calculated
B. None of the cells that are currently zero had previously had a number in it prior to the rule being calculated, this would mean that some of the zeros were being calculated since they have already been fed, and fed cells don't become unfed.

But according to the documentation this measure is cumulative, if we trust this then 23 is a valid number.

Note to OP you have Total Run Time in your post, assume this is a typo.