COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: EE on 04 Jul 2017 05:11:52 AM

Title: Legacy Chart Y-Axis shows different min and max values in html and Excel
Post by: EE on 04 Jul 2017 05:11:52 AM
We have created a report with Legacy Line Chart and Requirement is Y-Axis Max and Min values should be rendered by the measure item, If measure has Zero values, Axis should start from zero else from the minimum measure value and we have modified the Y-Axis Property settings "Include Zero for Auto Scale property to NO" for Y-Axis, But this property works fine in HTML reports, when we export to excel, this property works fine for some reports and for some reports it doesn't.

Here, We have 2015,2016,2017 years data and Include Zero for Scale Property works fine for 2015,2016,2017 years with all the query items except 'Amount' query item with combination of 2015 year data, only with this combination this property is not working. below i have attached excel axis options generated by cognos when i exported to excel for 2015 and 2016 years with Amount query item.

I don't know what is the issue, I have tried with different measures items, only with some measures items it doesn't work.

Please give some suggestion, if any one have gone through this kind of issue.

Thanks in Advance.
Title: Re: Legacy Chart Y-Axis shows different min and max values in html and Excel
Post by: EE on 05 Jul 2017 01:22:26 AM
below i have attached excel axis options generated by cognos when i exported to excel for 2016 year with Amount query item.
Title: Re: Legacy Chart Y-Axis shows different min and max values in html and Excel
Post by: Mimo91 on 05 Jul 2017 09:16:10 AM
Hi EE_IBM_Cognos,

This is an excel limitation. Please look into the below url;

https://www.ibm.com/support/knowledgecenter/SSRL5J_1.1.0/com.ibm.swg.ba.cognos.ug_cr_rptstd.10.1.1.doc/c_chart_props.html#chart_props (https://www.ibm.com/support/knowledgecenter/SSRL5J_1.1.0/com.ibm.swg.ba.cognos.ug_cr_rptstd.10.1.1.doc/c_chart_props.html#chart_props)

Thanks.
Title: Re: Legacy Chart Y-Axis shows different min and max values in html and Excel
Post by: EE on 06 Jul 2017 05:10:53 AM
Thanks for the suggestions Mimo91,

By default "Include Zero for Auto Scale" property is "yes" and i have changed to "no". And i know that this property is under excel limitation list. In that case, Y-Axis range should not start with zero, if this property values is "yes". But Axis range starts with Zero.

Thank You...!!