Forum Discussion
Conditional Formatting on Tables
- 6 years ago
Hey mwimberger ,
I think I solved it, basically it need a text field to reference against. It was weird but once I dropped in the Project field (Text) into the table, all of the conditional formatting came to life. Strange and never experienced it before!
Thanks for your input though, really appreciate it.
Ben
Hi mwimberger,
Thanks for taking the time to produce that detailed answer, it's much appreciated. So, I had no problem when the rule sets were set up like yours. I completed an update a few weeks ago and mine now look like this:
My rule fields look very different to yours! Any idea?
Cheers!
If you want the min value for each group to show red background, you could create measures and use the measure in the conditional formatting.
min = CALCULATE(MIN('Table'[production]),ALLEXCEPT('Table','Table'[name]))
flag = IF(MAX('Table'[production])=[min],1,0)
Maggie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- benjamincoady6 years agoHelper I
Hi both mwimberger v-juanli-msft ,
I've just done another update and mine is still completely different from both of yours, I don't even have the number field that v-juanli-msft has.
Do you think it's worth doing a full uninstall and reinstall? Can't understand why it would be so different.
Thanks for your continued help!
- mwimberger6 years agoResolver IIHi
So I doubt a reinstall will do anything. I would check the field you are trying to get the formatting for isn’t set to mixed text and numbers or maybe text . It may trip it up in this case.
You can set this in the modelling tab or in the Power Query step.
Cheers
Manfred- benjamincoady6 years agoHelper I
Hi mwimberger ,
Just checked, the values are set to (Whole Number) and (Currency).
I set up a new file and entered a quick test table. I then set the following rules, this should turn column 1 the correct colour but nothing happens.