HI All,
I have a requirement where i have the data for two different countries and need to count the records on two different logic. For the 1st country I need to put a counter on 1 column and for 2nd country i have to put a counter on combination of 3 columns. The columns used for both these counters are entirely different. Now, since there are two counter columns in the calculation view, i need to get these into a single column. For that to happen, i have defined a new calculated measure which picks up the value of count from the two available counters depending on the countrycode.
Expression for Calculated measure: COUNT_FINAL=IF("COUNTRYCODE"='XXX',"COUNT1","COUNT2")
But when i tried to activate the view i get the following error:
Inconsistent calculation model(34011)nDetails (Errors):n-CalculationNode (final Aggregation)->attributes->calculated Attribute(COUNT_FINAL)->expression: Flag calculateOnRequestNodeFlag is not set and attribute is a keyfigure with exceptional aggregation 'COUNT1' !.n-CalculationNode (final Aggregation)->attributes->calculatedAttribute(COUNT_FINAL) ->expression: Flag calculateOnRequestNodeFlag is not set and attribute is a keyfigure with exceptional aggregation 'COUNT2'.
Please let me know the solution for this if any of you knows or has encountered similar situation or error.
Please reply ASAP if you know.
Thanks and regards,
Rudrabhupal PB.