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
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
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors