DMDX Help.


Branch If Error Rate GT Keyword

<BranchIfErrorRateGT N1,N2>
<bierGT N
1,N2>

variant:
Call If Error Rate GT Keyword

<CallIfErrorRateGT N1,N2>
<cierGT N
1,N2>

    Tests current cumulative error rate against N1, if it is greater than N1 a branch to item N2 is performed (see <Branch>). Cumulative error rate is reset regardless of whether branch is taken or not -- if tests need to be performed without resetting use the <set N, ErrorRate> keyword to copy the error rate to a counter and then use <BranchIfCounterGT>. Should you wish to clear the cumulative error rate without branching see <bierLE>.

NOTE:     The
<BranchIf> and <CallIf> keywords can be used instead of these keywords, for instance <BranchIf N2, errorrate .gt. N1>. Whereas <BranchIf> evaluates it's expression before the display, RT and conditional increment and decrements have been executed this keyword's test is performed at the end of the item after everything else has been evaluated.




DMDX Index.