Forum Discussion

Gandhary80's avatar
Gandhary80
Frequent Visitor
2 years ago
Solved

Conditional formatting of column don't work properly

Hello,   first of all, sorry for "Czech" language location of PBI Desktop, but I think you can understand it.   I have in desktop column with name "ordernumber" and my goal is to make the backgro...
  • LeandroDeodato's avatar
    2 years ago

    to do a condicional format, you need a comparation of values, in this case, the fild is the fist value, this isn't correct, try change to based in rules, or use a mensure or column like sum of sales, etc...

  • Anonymous's avatar
    Anonymous
    2 years ago

    Thanks for the reply from LeandroDeodato , please allow me to provide another insight:

    Hi, Gandhary80 

    Regarding the issue you raised, my solution is as follows:

    1.First I have created the following table and the column names and data are the data you have given:

    2.Second, you can find the following locations in the visualization settings:
     

    3.Then modify the settings:


    4.Here's my final result, which I hope meets your requirements.


    5.Here is the relevant documentation:
    Apply conditional table formatting in Power BI - Power BI | Microsoft Learn

    Please find the attached pbix relevant to the case.

     
    Of course, if you have any new ideas, you are welcome to contact us.
     

    Best Regards,

    Leroy Lu

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