I want to calculate and show in CHART, Top 9 brands and rest should come under ‘Others’ which is not actually at the db level. So, I need to acheive this @ the universe/report level.
ex, in bar graph
Y-Axis->Revenue
X-Axis->b1,b2 b3…b9,Others
Is there any way we can acheive this in Infoview or in universe.?
I tried it, so the first part in the IF condition always gives you the ‘Multivalue Error#’, So, the IsError() function doesn’t fail.So, the ‘OTHER’ value is geting displayed. with just ONE BAR
Bus what about the rest of the vaules in the dimension which is less than the ranking value…?
I want to show…b1,b2…b9,Other in BAR CHART.
Even I tried, =If(If(Rank([Sales revenue];[City])>4;“Others”;[City])=[City];[Sales revenue];Max(If(If(Rank([Sales revenue];[City])>4;“Others”;[City])=[City];[Sales revenue];RunningSum([Sales revenue]))) ForAll ([City]))
The above code works and shows you the ‘OTHER’ total but we will see the Xaxis with
b1,b1,b3,b4,…b9,b10.
the condition here is where rank>4 is ‘OTHERS’. So, for b4 to b10 it will show you the ‘Others’ Total in the y axis ‘bar’ but the X-axis still displays b4…b10
any suggesions please…?
Also, I have gone thro’ the TOPIC THROUGHLY…but no use.