Chart Top N
csakis1973
GREECE
I have Report which contain many values, but I want in my chart to display only the top 10 values and not to show the summary of all
the other values in a eleventh bar in my chart. Is it possible to do some thing with a script or another way?
the other values in a eleventh bar in my chart. Is it possible to do some thing with a script or another way?
Comments
your sql statement is the key
ado sample from the main demo addin objects chart1 report.
select TOP 10 * from country order by population desc
for example
item name qty
----
item 1 400
item 2 380
item 3 350
item 4 300
item 5 290
item 6 250
item 7 230
item 8 210
item 9 190
item 10 180
and i have in my report 100 more records with less values than above.
I i show them the summarized column in my chart has a value 1800
is not correctly displayed
i gave you the method for the chart to only display the top 10 values.
use a different dataset for the report, and don't connect the chart series to that dataset.
again look at the report i mentioned in the main demo and see how it is connected to the data.