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
muelleto
Regular Visitor

Clustered column chart with several values and months used as legend

Hi,

 

I hope anybody can help me. I have a table with several demands. In the table I have the columns 'closed timestamp', 'demand phase', and 7 columns for the duration in days for every demand phase.Capture.PNG

 

 

In the end I'd like to have this chart but with all seven demand phases (for better overview I used here just three) and the month should be displayed in different colors and the demand phase should be represented by the x-axis. In short words: I'd like to switch the x-axis and the legend. Unfortunatly PowerBi only let's me set the 'closed tiemstemp' as legend if I use just one value and not all seven.

 

 

Any ideas how to solve this problem?

Thank you so much!

Br, Tom

1 ACCEPTED SOLUTION

Hi @muelleto

Please select the demand phases to the axis level, month as legend level, the "average of demand phases" as value level. As the following screenshot shown, please click Data colors(highlighted in red line) under formut button.

 

1.PNG

If you have any issue, please feel free to ask.

 

Best Regards,
Angelia

View solution in original post

7 REPLIES 7
muelleto
Regular Visitor

The values are the averages of every demand phase. So average of approval phase, avergae of collection phase, average of qualify phase, average of...

So yeah it's possible to get the demand phases to the axis level but then I'm not able anymore to set the color saturation for the months. I somehow need to bring all the average values of all the demand phase duration colums into one.

Hi @muelleto

Please select the demand phases to the axis level, month as legend level, the "average of demand phases" as value level. As the following screenshot shown, please click Data colors(highlighted in red line) under formut button.

 

1.PNG

If you have any issue, please feel free to ask.

 

Best Regards,
Angelia

muelleto
Regular Visitor

@v-huizhn-msft Thanks for your input but this unfortunatly doesnt solve my problem.

 

Capture.PNG

 

 

What I'd like to get in the end should look like this. The diffrent colors represent the diffrent months. Any ideas how to solve this maybe with a little bit powerquery magic? 😄

 

 

Thanks again for any ideas 🙂

Br, Tom

Hi @muelleto,

What's the mean of the value of histogram? Can't you put the date as legend level, the Demand Phase as Axis level?

 

Best Regards,
Angelia

muelleto
Regular Visitor

Sorry I can't share the data but a row looks like this

 

 

DemandIdDemand Phaseclosed timestampCollection Phase Duration in daysApproval Phase Duration in daysQualify Phase Duration in days
123456Approval22.08.201612.35.747.3
654321Qualify24.07.201610.57.510.5

Hi @muelleto,

In a  clustered column chart, there is only one Axis level. When you select several fields as Axis level, it will drill down according the order you put. It will jump to a new chart when you click the highlighted button like the picture below.

 

1.PNG

 

While, we can't put multiple fields as Legend level, we only can put one. Because it can’t determine which group of series need to be “clustered”.

 

If this doesn't resolve your issue, please post the detail expected result based on your given data.

Best Regards,
Angelia

PavelR
Solution Specialist
Solution Specialist

Would be helpful if you could provide sample data or pbi file.

 

Regards.

Pavel

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.