Forum Discussion
PatrickByGecko
Helper V
6 years agoConditionnal Formating with pure field
Hello I'm trying to have conditionnal Color formating on a simple numeric Field (here underneath CodeProjectID) but the menu panel always propose to have condition on the number of CodeProjectID not...
- 6 years ago
Use MAX for this. MAX will return the max value, but both MIN and MAX have a unique characteristic where they will convert a field to a scalar value if there is only one value in your field.
So MAX(Table[CodeProjectID]) will work
PatrickByGecko
Helper V
6 years ago
Thanks.
IS there anyway to compute a measure for instance from this field to be able to condition on the value itself? For instance New Measure TEST = 0+ CodeProjectID (I tried it does not work).
edhans
Community Champion
6 years agoUse MAX for this. MAX will return the max value, but both MIN and MAX have a unique characteristic where they will convert a field to a scalar value if there is only one value in your field.
So MAX(Table[CodeProjectID]) will work
- PatrickByGecko6 years ago
Helper V
Thanks a lot, it's working!
- edhans6 years ago
Community Champion
Great! Glad my solution helped.