Forum Discussion

0Experience's avatar
0Experience
Helper III
11 months ago
Solved

Stacked Column Chart Formatting

Hi everyone,

 

I'm working with a stacked column chart in Power BI where:

  • X-axis has a hierarchy: Year → Type
  • Y-axis shows values from a measure
  • Legend is based on Type

Currently, the chart displays Year and Type-1, Type-2, etc., on the X-axis, but I already have a legend at the top of the visual, so I’d prefer not to repeat those labels on the axis.

 

 

Here’s what I’m trying to achieve:

  • Keep the stacked bar for Type-12, which includes Type-1 + Type-2
  • Do not show separate values for Type-1 and Type-2 within Type-12. I want to display just the combined value (Type-1 + Type-2) as a single stacked bar

Expected something like below:

 

 

If anyone has suggestions on how to format or model this properly, I’d really appreciate your help!

 

You can access the Power BI file here

 

Thanks in advance!

6 Replies