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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Polux80
New Member

Bar charts colors according to the date

Hi everyone,

 

I'm stuck with a problem that for sure has an easy answer that is why I need your help.

 

I ran a type of report weekly and for this I use a Bar Chart with the weekly date in legend :

 

Polux80_0-1698136432186.png

I've assigned the color by hand according to the date in legend. The problem is that every week, with a new date in the legend, I observe a shift in the colours from right to left with a new color at the right.

 

I would like to apply a script that said : the last date is always navy blue, the penultimate date is always blue ... in order to have always the same blue gradient.

 

Could you help me doing that ?

 

Thank you so much,

Best regards

 

 

1 REPLY 1
Ahmedx
Super User
Super User

share an example in the form of pbix with a histogram, and I will try to help you

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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