Forum Discussion

KBUIUS's avatar
KBUIUS
Helper I
4 years ago
Solved

Column format

I know powerbi treat everything in a column in a consistent format, like everything has to be either $ or  time/date or whole number.    But for displaying purpose, I have a need to customize thing...
  • serpiva64's avatar
    4 years ago

    you can try something like this (look only the format)

    Column = if(dimProduct[WeightUnitMeasureID]="grams"FORMAT(dimProduct[Weight],"Fixed"), FORMAT(dimProduct[Weight]/100,"Percent"))

     

    If this post is useful to help you to solve your issue consider giving the post a thumbs up 

     and accepting it as a solution !