Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Christian_Houen
Frequent Visitor

100% stacked column chart - colour saturate by groups?

Hi

I would love to create a chart looking like this:
Product mix columns over time (different colors are different products):
Capture.PNG 

When I try it in Power Bi, however, I am unable to split it by group:
Capture.PNG

When I do it, it simply won't stick.
The measures are sums of the values by year.
Axis is are the years from the date table.
The one I am trying to drag to color saturation is groupings of different item names. 

This method works fine when I use only one measure in the Value box.

Why is this happening?

4 REPLIES 4
v-juanli-msft
Community Support
Community Support

Hi @Christian_Houen

Is "sum of product 2018" a measure?

If "sum of product 2018" and "sum of product 2017" are columns from original table, then we can transform the table structure to the following one, then we could plot the visual as you like.

9.png

 

7.png

 

 

Best Regards

Maggie

 

v-juanli-msft
Community Support
Community Support

Hi @Christian_Houen

Assume my data table is like this, then i drag columns to the proper fields as below.

1.png

 

How do your dataset structure?

 

Best Regards

Maggie

The blurred out section is product groups (String type)

Capture.PNG

The reason for structuring it like this is because I need a budget value for 2018 as well which will appear in another column.

Stachu
Community Champion
Community Champion

try putting it in Legend instead of Color saturation
color saturation expects numeric value, that would provide more intense color the higher the values is



Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.