Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Conditional formatting with multiple decimals

The software version number in our dataset has multiple decimals, and Power BI does not recognize these version numbers as numbers for conditional formatting: How can we get it to register as ...
  • themistoklis's avatar
    5 years ago

    Hello Anonymous 

     

    I dont think there is a way to make a record with numbers and 2 decimals to be recognised as number in PowerBI.

     

    I would suggest you check if there is a pattern on software versions. e.g. if you have software version in this format:

    2.0.176

    3.1.033

    2.1.001

     

    Simply delete the second decimal, convert it to number and then apply a conditional formatting

    You can try the following formula:

    Column = FORMAT(REPLACE(Sheet1[Version],4,1,""), "0.0000")