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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Thulasiram
Helper II
Helper II

Column chart conditional format

Dear all

I have created a Column chart with Dates as "X" axis and some values on "Y" axis.

I would like to format the color of the columns based on date.  For example,

if the dates are below 10th of the month, it is green and if it beyond 10th, as red.

 

When I got to format pane, under column and go the conditional formatting and select

Rule and select the Calender[date], it shows as "Cound of date".  So I am not able to

define dates before and beyond 10th.

 

Am I doing anything wrong or is there any other way for conditional format such cases.

 

Help is much appreciated.  Thanks.

Thulasiraman

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @Thulasiram 
You can base the condition of formatting on the column that is not on the graph.
In your case: "Day" column :

Ritaf1983_0-1718088081126.png

Result :

Ritaf1983_1-1718088112496.png

If you don't have "Day" column you can create it :

Ritaf1983_2-1718088219399.png

Pbix with example is attached

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

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

2 REPLIES 2
Ritaf1983
Super User
Super User

Hi @Thulasiram 
You can base the condition of formatting on the column that is not on the graph.
In your case: "Day" column :

Ritaf1983_0-1718088081126.png

Result :

Ritaf1983_1-1718088112496.png

If you don't have "Day" column you can create it :

Ritaf1983_2-1718088219399.png

Pbix with example is attached

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

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Thank you very much.  It works.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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