cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cham
Post Patron
Post Patron

Conditional Formatting

Hi,

 

I created a measure in my sheet and I used that data to bar chart with year. I want to add a conditional formating using colour scale. But i couldn't add it. Ho can I do that? I want to do as follow,

 

CF.PNG

1 ACCEPTED SOLUTION

I haven't see your data, but I try it in my report,it worked.

In the "clustered bar chart", my axis is "period", my value is "Amount A.P" which is same with the "based on field"

Conditional Formatting.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

9 REPLIES 9
AiolosZhao
Memorable Member
Memorable Member

Hi @cham ,

 

I think what you want is this:
Conditional Formatting.PNG

 

Next to the Default color in the Data colors card, you can find the "dot dot dot" button, click it,

then you can use the Conditional formatting.

 

Thanks.

Aiolos Zhao





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hi,

I'm not seeing these options: the default colour or the 3 dots. Is there a reason for this (Options? I'm on Version: 2.70.5494.761 (juni 2019)).

 

Thanks in advance,

Maurice.

Hi @MZandvliet 

 

If you are using two values you cammoy do the conditional formating. You can use one value in the "Value" filed in order to do the conditional formating.

Hi Cham,

 

Yes, when I select one value I have the three dots for conditional formatting Smiley Happy. It would even be better if you can select it with two values (bars) as well. But the answer from you is clear, THANKS!

 

Yes I know that. I did it but its not working. All the values get red when I did this. I want to know why is this happening. Cant we add conditional formatting for measure values?

 

CF1.PNG

Hi @cham ,

 

If you want to customized the value for the color, you can create a measure like:

Measure = IF(Your Measure > 0.5,"#FFFFFF","#000000")

Then after you open the "conditional formatting", you can choose "Field Value" in the "format by" checkbox.

Then choose the measure you created.

I think that will work.

Please try.

Aiolos Zhao





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Is this giving me the specific colour to that value. Because I want to show a colour scale like "shading". I dont want to use specific colour faor the range I select. 

 

Using this can I add a colour scale?

I haven't see your data, but I try it in my report,it worked.

In the "clustered bar chart", my axis is "period", my value is "Amount A.P" which is same with the "based on field"

Conditional Formatting.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

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!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors