COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: kennedto on 24 Mar 2017 11:51:26 AM

Title: Gueage Chart
Post by: kennedto on 24 Mar 2017 11:51:26 AM
I am using Cognos 10.2.1

I have the following Query
VM_STATE  Count
active          389
stopped       23


I would like to create a Guage from this that has one needle for active and one for stopped.
Can someone tell me how to set that up?
Title: Re: Gueage Chart
Post by: MFGF on 24 Mar 2017 12:49:23 PM
Quote from: kennedto on 24 Mar 2017 11:51:26 AM
I am using Cognos 10.2.1

I have the following Query
VM_STATE  Count
active          389
stopped       23


I would like to create a Guage from this that has one needle for active and one for stopped.
Can someone tell me how to set that up?

1. Drag in a chart - select the Gauge type
2. Drag VM_State to the Gauge Axes area
3. Drag Count to the Default measure area

MF.
Title: Re: Gueage Chart
Post by: kennedto on 24 Mar 2017 01:08:02 PM
I did that and it works except it does not give separate needles  for the VM_STATE type, active and stopped .
Just one needle for the total.

Title: Re: Gueage Chart
Post by: sdf on 26 Mar 2017 07:56:20 PM
i bet you need separate data items for active and stopped.
or get the members/values of VM_STATE.
Title: Re: Gueage Chart
Post by: MFGF on 27 Mar 2017 04:37:44 AM
Quote from: kennedto on 24 Mar 2017 01:08:02 PM
I did that and it works except it does not give separate needles  for the VM_STATE type, active and stopped .
Just one needle for the total.

There must be more going on than you're telling us. Here's an example using the samples:

(https://image.ibb.co/fE4UyQ/Gauge_zpshsvftx4f.png)

The report spec is included below

MF.