Showing results for 
Search instead for 
Did you mean: 
PPRP Frequent Visitor
Frequent Visitor

Data not showing in stacked column chart




I am trying to create a stacked column chart for resource hours by manager. Manager names on X-axis, hours on Y-Axis, and legend contains Resource name. However columns do not appear for 4-5 managers even though they have resources reporting under them. I have tried changing the visual and as well changing the scale. No matter what, the columns do not appear only for those specific managers.  Any suggestion would be appreciated. TIA.

ChrisHaas Established Member
Established Member

Re: Data not showing in stacked column chart

@PPRP , make sure to create an EXPLICIT measure, such as:


MyMeasure = 
SUM( TableName[ColumnName] )

and then adding this measure to your stacked column chart.  It is NOT best practice to simply drag the numerical column into the values section, and select "sum" from the drop down.  This is an implicit measure, and severely limits Power BI in the types of calculations you can do.


MyMeasure show 0s = 
[MyMeasure] + 0

That said, Power BI is similar to a Pivot Table.  If there is no data to show, those values are simply "hidden" in the visual.  If you want to force those values to show up, then you need to add "+ 0" to the end of the measure.


This forces a measure that resolves to "null" to resolve to 0 instead.  and a 0 will show up on a graph.


Note I explicitly created a separate measure to show values with a 0.  Sometimes you want to show all values, and sometimes you don't.  Do you want your line chart to go out all the way into the future with a line that shows 0?  Maybe, maybe not.  But building 2 separate measures gives you the chance to pick and choose which visuals behave that way.


Hope this helps,


~ Chris

Helpful resources

Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 59 members 1,234 guests
Please welcome our newest community members: