COGNOiSe.com - The IBM Cognos Community

Legacy Business Intelligence => COGNOS ReportNet => Report Studio => Topic started by: lastsummer on 11 Nov 2007 09:47:22 PM

Title: CAN NOT insert a measure into a combination chart,why?
Post by: lastsummer on 11 Nov 2007 09:47:22 PM
Hi,
I want to insert multi measures into a combination chart, but when i dragged a measure into the chart, there is a error message appeared, 'You hava attempted to place an additional measure in the default measure area.Nest or union additional measures on the appropriate edge.'
How can I do to insert addtional measure into the chart?
Title: Re: CAN NOT insert a measure into a combination chart,why?
Post by: rockytopmark on 12 Nov 2007 12:27:54 PM
Pivot your data first, and I would say a UNION query would be necessary.

Your data looks like this, for example:

YearProdQtyRev
2004ABC10050000
2005ABC12060000
2006ABC14070000

But you need this:

YearProdMeasureValue
2004ABCQty100
2005ABCQty120
2006ABCQty140
2004ABCRevenue50000
2005ABCRevenue60000
2006ABCRevenue70000

... so that you can use the Measure query item in the Chart's Series (You can have multiple Series) and your Value item as the Measure.
Title: Re: CAN NOT insert a measure into a combination chart,why?
Post by: lastsummer on 12 Nov 2007 09:29:07 PM
Thanks for your reply.
As you said, I only can have multi series, but can not have multi measures?
I had thought combination chart can has multi measures :(
Title: Re: CAN NOT insert a measure into a combination chart,why?
Post by: rockytopmark on 13 Nov 2007 10:35:24 AM
Exactly