Some data series missing from stacked bar chart

RogerC

Well-known Member
Joined
Mar 25, 2002
Messages
536
I have a table similar to this:
Across row 1 are header labels (A1 = 'CITY', A2 through AJ1 = Week1, Week2, Week3, etc)
Down column A are the city names (A2 through A11 = Phoenix, LosAngeles, Dallas, etc)
The data in B2 through A11 is the weekly total sales for each city.

I have checked the Source Data settings for the chart and each of it's city series. The chart appears to be pointing to all of the correct data.

Here is the problem:
For week13 (the most recent week) only the data in Rows 4, 5, and 8 are being plotted in my stacked bar chart. The data in rows 3, 6, 7, 9, 10 and 11 is missing from the chart. Even though the Source Data settings show them to be included. (These cells have actual data, not blank or 0).

The data series that are missing varies from week to week (rows 5, 7, 10 are missing from week11 chart data).

I have stared at this until I'm blue in the face, but cannot determine what is wrong. Can anyone suggest something I might look for?
 
IluvPivots,

Thank you so much for your offer to review my spreadsheet.

Unfortunately, I needed to present the charts the next day so I spent the evening rebuilding them and re-establishing links. For some reason when I recreated the charts (using the very same data and series ranges) they plotted all of the data as expected.

I will know to look for the formatting issue in the future.

Thanks again for your help... you are truely a dear!
 
Upvote 0

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
If the data comes from SAP to BO to Excel as text, it will be plotted as zero values, no matter what it looks like.

Jon Peltier,

Thank you for explaining the underlying problem and how to avoid it. My company is currently implementing SAP worldwide (100,000 employees) and I can image a great deal of pain over this issue down the road.

Given your explaination of the cause, does it make sense that simply recreating the charts fixed the missing series?

Thank you.
 
Upvote 0
If the data is present but not recognized as numeric, you can use a simple VBA procedure to convert it. Select a range and run this:

Code:
Sub MakeDataNumeric()
  Dim rArea As Range
  If TypeName(Selection) = "Range" Then
    For Each rArea In Selection.Areas
      With rArea
        .NumberFormat = "General"
        .Value = .Value
      End With
    Next
  End If
End Sub

In fact, you might do this on the dumped data as soon as you get your hands on it from the SAP source.
 
Upvote 0
RogerC-
I'm glad I could provide input.

I get so much help from this board in the few times that I have posted. I hope that I can return to favor to someone else.
Best of Luck!

J
 
Upvote 0

Forum statistics

Threads
1,223,693
Messages
6,173,877
Members
452,536
Latest member
Chiz511

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top