Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I have a question in bar chart,in my bar chart i taken a month is a dimension(x-axis) with 2 expressions(2 bars).1st expresion(1 bar) is sum(value) for max(year).2nd expresion(2nd bar) is sum(value) for max(year)-1.please find the attacment.
The bar cahrt showing correctly, but i want to eliminate the prev year bars where the month values is null in current year.i wnat to show the bar chart like this
If again the values will be uploaded in sept month and so on the prev year bars of months will appear.
Can anyone have solution for this.please help me.
regards,
baru
Use this as dimension:
=aggr(if(sum({$<year ={$(=Max(year))}>}value)<>0, month), month)
Use this as dimension:
=aggr(if(sum({$<year ={$(=Max(year))}>}value)<>0, month), month)
Hi whiteline,
Thanks for the solution,it is showing correctly.
I have 1 more question,how can we represent legend(2011 Budget,2011 Actual) like in the following image,
regards,
baru
Sorry, can't see the image.
Append it as an attachment.
I guess you want to parametrize expression labels like this:
=Max(year) & ' Budget'
instead of 'prev year'
and
=Max(year) & ' Actual'
instead of 'cur.year'
Hi whiteline,
no i am not asking about the legent captions.i want represent legend as horizontal position in my chart.Like..
regards,
baru
The same problem with images.
Could you attach them as files ?
Hi Baru,
Under the axes tab, we can change our legend position through "Dimension Axis" part.
Regards,
Kabilan K.
Hi whiteline,
i am sorry for inconvenience.please see the above image with red mark.I want legend in horizontal view in chart.above one is the example.
regards,
baru
Select this chart (click on caption).
Press and hold Ctrl+Shift (you should see red rectangles).
Move the legend rectangle with the mouse.
Can u give a clear picture?
Regards,
Kabilan