COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: JBorges on 18 Mar 2015 09:41:46 AM

Title: Remove values from stacked 100% chart under certain value
Post by: JBorges on 18 Mar 2015 09:41:46 AM
Hi,

I need to remove the small percentages (under 5% ) in the following chart:
(https://cld.pt/dl/download/64037774-c435-46d9-9d51-0b9689d0739c/dxcxcxc.JPG)

How can I do this?

Thanks for your help,
Regards.
Title: Re: Remove values from stacked 100% chart under certain value
Post by: Robl on 19 Mar 2015 10:58:40 AM
I'd be looking at doing it in the date.

Perhaps group all the small values together into an 'Other' grouping, so they still appear on the bar chart but they are grouped together with just a single value.
Title: Re: Remove values from stacked 100% chart under certain value
Post by: JBorges on 19 Mar 2015 12:06:23 PM
Quote from: Robl on 19 Mar 2015 10:58:40 AM
I'd be looking at doing it in the date.

Perhaps group all the small values together into an 'Other' grouping, so they still appear on the bar chart but they are grouped together with just a single value.

I had already thought in that solution, but the requirements show that i cannot create more groups and must hide the small values in the chart.

Regards.
Title: Re: Remove values from stacked 100% chart under certain value
Post by: Robl on 20 Mar 2015 03:58:29 AM
Can you conditionally format the labels to make the foreground colour transparent when they are under 5%.
I know you can conditionally format the chart colours but I've never tried the labels.
Title: Re: Remove values from stacked 100% chart under certain value
Post by: TheFrenchGuy on 20 Mar 2015 08:20:48 AM
You should try with an "Report expression" in your properties.
Or maybe a specific format as said before :/
Title: Re: Remove values from stacked 100% chart under certain value
Post by: Lynn on 25 Mar 2015 10:01:55 AM
If you remove stuff from a 100% stacked chart then it isn't really reflecting 100% anymore, is it? If you can't lump them all into a single "other" group then can you filter them out of the query altogether? I don't think I totally understand a requirement that wants to hide things in a 100% stacked chart....either you change what the 100% reflects (e.g., only the big stuff with the little stuff filtered out of the query) or you group the little stuff into a single "other" group so that the meaning of 100% is reflecting everything.
Title: Re: Remove values from stacked 100% chart under certain value
Post by: JBorges on 25 Mar 2015 10:36:23 AM
Quote from: Lynn on 25 Mar 2015 10:01:55 AM
If you remove stuff from a 100% stacked chart then it isn't really reflecting 100% anymore, is it? If you can't lump them all into a single "other" group then can you filter them out of the query altogether? I don't think I totally understand a requirement that wants to hide things in a 100% stacked chart....either you change what the 100% reflects (e.g., only the big stuff with the little stuff filtered out of the query) or you group the little stuff into a single "other" group so that the meaning of 100% is reflecting everything.

I just want to remove the annotations in the chart, i want it to still show the sections of the low percentages but without showing the numbers.