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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Frances1
New Member

Stacked Bar graph - no colour option with a legend or multiple values

Hi

 

Has anyone had any issues changing the colour on the stacked bar graph when a legend or multiple values are added? I used to have the option under the format section but now it just shows like this:

 

Frances1_0-1709121431474.png

 

This is what it should look like and what I see when there is only one value and no legends:

Frances1_1-1709121494507.png

Any help is appreciated! I've been working around by changing it to a pie graph and changing the colours there then added it back as a stacked bar then putting the X-axis back in. It's not ideal and occasionally doesn't work, I'm positive I was able to change the colour easily a few months ago.

 

Thanks!

 

4 REPLIES 4
PijushRoy
Super User
Super User

Hi @Frances1 

If you are using multiple value in X Axis, then you can color based on multiple value in X Axis. It will works same like Legend. For testing purpose, keep one field in X Axis and Legend, you can easily change color as per legend.

If you are using multiple value in X Axis and also one filed in Legend, color can be turn off.

If possible, please create a sample PBIX to reproduce the issue and share the link (google drive/dropbox/onedrive).

Let me know if that works for you


If your requirement is solved, please mark THIS ANSWER as SOLUTION ✔️ and help other users find the solution quickly. Please hit the Thumbs Up 👍 button if this comment helps you.

Thanks
Pijush
Linkedin

Thanks ! So this is a mock of two scenarios. I don't think I explained this well. So both of the graphs have the Date as the x-axis, one has only one value and a legend and the other option is 3 values. 

Frances1_0-1709129972467.pngFrances1_1-1709129989485.png

 

Frances1_2-1709130009868.pngFrances1_3-1709130024233.png

 

 

IDLegendValue 1Value 2Value 3Month End Registered
1Yes01031/01/2024
2No01031/01/2024
3Yes01031/01/2024
4Yes00131/01/2024
5No00131/01/2024
6No00129/02/2024
7Yes00131/01/2024
8Yes01031/01/2024
9Yes10029/02/2024
10Yes10031/01/2024
11No10031/01/2024
12No01031/01/2024
13No00129/02/2024
14Yes00129/02/2024
15Yes00131/01/2024
16Yes10029/02/2024
17Yes10029/02/2024
18Yes10029/02/2024
19Yes10031/01/2024
20Yes10029/02/2024
21No00129/02/2024
22No00129/02/2024

 

This is the mock data set I'm using 

Arul
Super User
Super User

@Frances1 ,

Conditional formatting won't be possible if you are using values in legend.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

April Fabric Community Update

Fabric Community Update - April 2024

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