Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have the following statement and it seems the values are not displaying. I suspect that the vLastYear variable is the issue. Hope to get inputs. Thanks!
count({$<transaction_type-= {'Union_Bank'}, Year={$(vLastYear)}>} distinct transaction_id)
Bobbet
the formula seems correct, can you share the formula to calculate vLastYear ?
Hi Taoufiq ZARRA,
Here is the complete formula:
(count({$<transaction_type-= {'Union_Bank'}, Year={$(vCurrentYear)}>} transaction_id)/
count({$<transaction_type-= {'Union_Bank'}, Year={$(vLastYear)}, MonthNum={"<=$(vMaxMonthNum)"}>} transaction_id)) -1
Thanks
Bobbet
Hi Bobbet
always the syntax seems correct.
vCurrentYear, vLastYear, vMaxMonthNum returns the correct values?
Yup, they are returning the correct values. Funny thing, results are zero or nil. Here is the screenshot. Thanks!
now you have to see the semantics of the formula, for example '-=' or 0 is 1(same values in numerator and denumerator)-1 =0 ...
I removed that condition, same results. No values.
Hi,
Take all the variables in Kpi and see what output ur getting and is that the same with your current output,if it is coming correct in kpi and not here then u must be having some bracket issue.
The calculation which ur performing calculate numerator separately and denominator separately and check values are correct when calculated separately?
Regards,
Shivani Sapkale
Hi Shivani,
I broke down the set analysis statement into two. Both gives the same value. Could be an issue on the variables for current and last year?
Thanks
Bobbet