Chart Missing Observations - cognos

I'm having trouble with a combination chart. I'm using the old-school chart because same vis in the Legacy Visualizations and New Visualizations forces a second values axis with a different scale on the right. I don't want that.
The trouble I'm having is that not all of the observations are showing up. I have a page with a chart and a list. Both use the same query, but some observations are missing from the chart.
[MATSLabNumberNumeric] = cast ( substring ( [MATS Lab Number], 6 ), int ) where MATS Lab Number is like FA0200088 (for the first observation in the list). All observations are displayed if the MATS Lab Number is used, but not if MATSLabNumberNumeric is used.
I tried resizing the chart, but as expected, changing the layout had no effect on the data being presented. It just made the columns wider or narrower.
I have had the same results in all combinations of these:
Cognos Analytics 11.0.13
Cognos Analytics 11.1.7
Interactive Viewer
Compatible Viewer
11.4 styles
10.x styles
combination chart
bar chart
column chart
area chart
line chart
Any idea what could be causing this? Is there a property I inadvertently flipped?

You can try adjusting the width of the chart under the Size and Overflow property.

Related

How to show data label values in Cognos 11

I am using Cognos 11 to build a report. I am using a bar graph and I am trying to show actual values on top of each bar. Below is a picture of the graph I am trying to create. The writing in red is what I ultimately want to show for all bars.
I have tried everything but cant seem to find out how to do this. I think cognos 11 just may not support it. Any ideas or suggestions on how to show each bars values specific number in Cognos?
It depends on some factors:
What class of visualization are you using? (11.1, 11.0, legacy,
charts)
What kind of visualization is that? (I assume clustered
column)
Here are a couple examples to get you started.
For 11.1, clustered column:
Select the visualization.
Change the Show value labels property to Yes.
For charts, clustered column:
Select the visualization.
Click Select a chart object and select Bar.
Set the Show values properties by clicking on the ellipsis.

"Attaching" pivot chart labels to bottom of graph

I have a chart that I am using to keep track of weekly data. It is a Pivot table with an attached graph. Every week when I refresh the data the chart moves back to the following picture.
Graph
With the Data labels shoved inside of the bottom of the chart. I Spend a bit of time every week moving all of them back down. I would like to anchor them with the upper right corner attaching to the bottom axis. The only placement option in the Pivot chart are Center, Inside End, Inside Base, Outside end. I am using inside base to get the picture I mentioned.
Here is what I change it to each week. As you can see I drag all of them down individually and try to get them to line up as best as I can by hand. But they are never perfect.
I have finally found my problem, The issue was I was using Data Labels and not axis labels.
If you are having this problem go Pivotchart tools > Design > Add chart Element > Axes > Primary Horizontal.

Excel 2016 Chart Data Labels Always Empty

I have several bar charts, all configured to show Data Labels.
The data labels object box is showing (I can also apply Fill and Border colors to it). However, this object is always EMPTY. Regardless of what I tick to show (e.g. Values, Values from Cells, Series Name, etc...) - it is always empty, with the minimum (shrunk) width (as it should expand per the value presented). If I tick to show the "Legend Key" - a colored square does show to the left of the empty label box.
There's no issue with the font definition, or colors, but it seems as if some underlying theme-wide setting is causing this behavior with all charts on this Workbook.
I have a matching Workbook before some formatting (branding) were applied, in which Data Labels are working just fine. I compared all Data Labels settings and options - they are identical.
Any idea where else can I look?
Thanks!
Updating here that the issue is solved.
I believe it is some sort of a bug in Excel 2016.
I deleted the Data Labels and Re-created them, now it is working normally.
I have to delete per each chart where this problem was evident.

Color the gaps between stacked columns in Excel/ThinkCell

Can I do that in Excel or PowerPoint, maybe with necessary add-ins like Think Cell? I wouldn't want to do that manually by using shapes or overlaying one type of chart over another.
An example of such chart from McKinsey research:
To create such a chart I would assume that the author either colored it manually (not so unlikely if the picture is a one-off, consultancies have lots of people for such tasks) or used the following trick: The picture you showed consists of two charts (leaving the pillars on the right hand side out of scope):
The bar chart with all the numbers and texts in front
And in the background an area chart without numbers and texts
While 1) will only have columns for 2012, 2013, ... 2017 it is necessary that 2) is more granular and contain y-values for the following x-values 2012-left, 2012-right, 2013-left, 2013-right and so on.
In the end there will be quite some fine-tuning required.
All the best.
Jens

Set specific color for a Legend in a dynamic Pivot Chart

I have a pivot chart with data coming from a Power Query - SQL Source. Colors in Pivot Chart follow a pattern depending on the number of legends. It always starts with light blue (based on my theme choice) but legend values are not static since it is referencing from a live data - Chart 1 starts with <30d and Chart 2 is >=90d, but both are light blue which is confusing.
I am aware of Macros and tried applying it upon opening the Excel but this will not work if the refreshed data changed the number of legends in the chart. (e.g. Chart 2 now has 2 legend values) and it refreshes weekly.
What i'm looking for is a way to bind a color to specific text - <30d is Red for all charts. If there's a documentation about this that doesn't include Macros that will be best. I've tried finding an IF (legend = <30d) in Macro; spent hours already but is still unsuccessful in doing so.
To anyone with the same issue, i loaded the data from Power Query to a Worksheet and not to a Data Model. Now when i change the color for a legend and the data refreshes, it will not revert to a default color scheme.

Resources