COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: philelmousse on 24 Jan 2011 06:48:04 AM

Title: Chart whitout value
Post by: philelmousse on 24 Jan 2011 06:48:04 AM
Hello, I have a big problem with a report.

In this report I have a chart with data from my framework manager model. But in this chart I cant see any data and if I create a simple list to see my data they appears correctly in the list. So I'm a bit lost...
Title: Re: Chart whitout value
Post by: jive on 24 Jan 2011 07:38:37 AM
Hi Phile,

Just to be sure did you check if the sql source for your chart is the same as the one used in the list. If it's the same you will be able to see data in the chart. there other solution it's to have master-detail relation between the chart and the query used in the list.

Regards Jacques,
Title: Re: Chart whitout value
Post by: philelmousse on 24 Jan 2011 08:08:21 AM
my source is a query subject wich returns that kind of data

name
toto
toto
Category
general
general
Month
1
1
Amount
1000
2500

So I took the column Month for the "x-axis", the column Category for the legends and the column Amount for the measures. But nothing in my graph...
Title: Re: Chart whitout value
Post by: philelmousse on 24 Jan 2011 08:17:58 AM
and if I create a list with that columns my chart appears with the values. So it should be a problem in my framework manager model ?
Title: Re: Chart whitout value
Post by: philelmousse on 26 Jan 2011 10:09:58 AM
no one have an idea ? :/
Title: Re: Chart whitout value
Post by: PRIT AMRIT on 26 Jan 2011 09:02:57 PM
easy fix would be, create a LIST with that column and just hide the LIST;)
Title: Re: Chart whitout value
Post by: philelmousse on 27 Jan 2011 01:52:00 AM
yes why not but thats not really optimized  ;D
Title: Re: Chart whitout value
Post by: PRIT AMRIT on 27 Jan 2011 02:14:23 AM
I don't think if you use the same QUERY for the list report, then it would make a big difference in terms of performance.
Title: Re: Chart whitout value
Post by: philelmousse on 27 Jan 2011 02:22:54 AM
so i tried to hide the list but we still see the big space of the hiden list. Is it possible to completly remove that space ?
Title: Re: Chart whitout value
Post by: PRIT AMRIT on 27 Jan 2011 02:28:56 AM
how you have hided? In properties there r two options 'Visible' & 'Box Type'

Select the List, in properties Box Type= 'none'

Can you just select the LIST and 'Cut' it and see if it helps?
Title: Re: Chart whitout value
Post by: philelmousse on 27 Jan 2011 02:35:55 AM
yes it works with box type ='none'. Thanks for you help :) I will ask if its an acceptable solution
Title: Re: Chart whitout value
Post by: PRIT AMRIT on 27 Jan 2011 02:40:06 AM
So far working fine and no performance issues then it's all right. End user is interested in Result rather how you have done it   :D
Title: Re: Chart whitout value
Post by: philelmousse on 02 Feb 2011 09:55:47 AM
the problem appears again even with the list :/ i'm gonna crazy arg
Title: Re: Chart whitout value
Post by: philelmousse on 08 Feb 2011 09:34:43 AM
Hi, I finaly found the solution so if it could help...

I had a category with null amount so I just created a filter in the chart "amount is not null".