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
Applicable88
Impactful Individual
Impactful Individual

Bar chart, always 20% different color

Hello,

I have a typical measure and a date dimension in a bar chart. Is ist possible to always color 20% of the bar chart dynamically? No matter how high the value, 20% of the bar chart is e.g. orange and the rest is blue.

 

Thank you very much in advance.

Best

1 ACCEPTED SOLUTION

@Applicable88 in the field value of your visual drag 80% first then 20%

 

Did it work ?  Mark it as a solution to help spreading knowledge  A kudos would be appreciated

View solution in original post

3 REPLIES 3
DataVitalizer
Super User
Super User

Hi @Applicable88 

I would create two extra measures as below, lets call the measure that has the whole value Measure1.

Measure2= 20% of Measure1

Measure3=Measure1 - Measure2

 

Then drag Measure2, Measure3 and date into a stacked histogram visual.

 

Did it work ? 👌 Mark it as a solution to help spreading knowledge  👉A kudos would be appreciated

@DataVitalizer, when its not possible not implement it into "one" bar, will the can the order be fixed, like 20% always bottom and 80% always top?

@Applicable88 in the field value of your visual drag 80% first then 20%

 

Did it work ?  Mark it as a solution to help spreading knowledge  A kudos would be appreciated

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.