cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
Lukep
Frequent Visitor

Conditional colour formatting

Hi all,

 

I am trying to put together a monthly report for a customer that will be automatically updated at the start of every month with the the data for:

1. the previous month (e.g. August 2023)

2. The month preceding that month (e.g. July 2023)

3. The same month previous year of the previous month  (e.g. August 2022)

 

One thing that i am struggling with each month in the automation process is the colours of the columns in some of the charts.

 

screenshot for help with colours for bespoke report.pngAs the above photo shows, the latest month column should be blue and the previous month should be black. However, when the new month begins and the data is updated the colour of the column changes also automatically. 

 

I believe that the reason for this is because the previous months report (July 2023) was set as July being the blue column and therefore Power BI assumes July should stay blue. 

 

However i want the latest month to always be blue, the previous month to be black and the previous year to be orange.

 

Please could someone advise how to do this in my report.

 

I have also attached two more screenshots of the visualisations column in case that helps to explain the situation more clearly too.

 

screenshot of colours tab.pngscreenshot of visualisation tab.png

2 REPLIES 2
mussaenda
Community Champion
Community Champion

Hi @Lukep ,

 

It is better if you will use the year as legend and set the colors instead of using the months

Hi @mussaenda 

 

I need to show each month seperately because the customer has asked for this to compare their data for the latest month to the previous month and previous year for the % changes in visitor numbers.

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors