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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Sherin_Jojo
Frequent Visitor

No change in bar color in 100% stacked bar chart

I got a 100% stacked bar chart which shows the Total sales over years and I used the field paramater as the legend as below

Sherin_Jojo_2-1715346648681.png

I got a field parameter with 2 options "gender" and "Summary"

Sherin_Jojo_0-1715346533758.png

The gender split will be shown as above, but i need a summary view without any split in the same field parameter, so i created a calculated column in the table and give all the values as "All" and used it in the field paramater and the graph will be as below. 

Sherin_Jojo_3-1715346749958.png

Now, i tried to change the colour of this particular bar in Summary view, but i could find that the colours aren't reflecting. I tried conditional formatting also, but still not working. It is shown below :

 

Sherin_Jojo_4-1715346920676.png

What might be the possible reason? 

 

 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @Sherin_Jojo 
Please refer to my answer at the linked discussion :

https://community.fabric.microsoft.com/t5/Desktop/Using-Fields-Parameter-to-Create-a-Measure-for-Dyn...

Pbix with example included

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

 

View solution in original post

1 REPLY 1
Ritaf1983
Super User
Super User

Hi @Sherin_Jojo 
Please refer to my answer at the linked discussion :

https://community.fabric.microsoft.com/t5/Desktop/Using-Fields-Parameter-to-Create-a-Measure-for-Dyn...

Pbix with example included

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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