dbTalk Databases Forums  

is user-defined resultset possible in Cognos Impromptu Report

comp.databases.olap comp.databases.olap


Discuss is user-defined resultset possible in Cognos Impromptu Report in the comp.databases.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
elawcn@gmail.com
 
Posts: n/a

Default is user-defined resultset possible in Cognos Impromptu Report - 03-03-2005 , 01:55 AM






Hi Guru,

We have to build a bar chart to show the count of customers. the table
looks like the follows:

Field Count of customers
1 23
2 20
3 10
4 20
...
we need to show 1-3 field's count of customers as X-axis on the bar
chart;plus, the count of customers belong to "Field number" > 4 need to
be sum up together and then show as ">4" on the X-Axis, In other words,
1,2,3,">4" shows as X-axis.

Do you guys have any solution for this. I have get frustrated from this
and the project deadline is coming. please help if you know how to do.

Thanks,

Eric


Reply With Quote
  #2  
Old   
ggc_mx
 
Posts: n/a

Default one solution - 05-18-2005 , 02:05 AM






I would do the following

1.- Create a calculated column using the summary function RANK, nam
the column RANK and hit OK, you'll have to edit the field again t
change the column association to "Report" so it takes all the line
in your report, also, if necessary, clear any grouping and sorting i
might create leaving only the "rank" grouping

2.- Add a second column, name it Category, with a calculated fiel
with something like " if (RANK < 4) then ( number-to-string
RANK ) ) else ( '>4' )

3.- Create your chart using this column, you should have no problem
email me if you have questions


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.