Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

handling alpha numeric data in a column

Hi All,   Would like have if average of % values as % and average of numbers as numbers in a matrix table, I have created matrix visula but in vain the % values are not as %  but avg of numbers are...
  • S184019's avatar
    S184019
    7 years ago

    Anonymous

     

    Hey, 

     

    Perhaps formatting could occur with a minor modification to the formula like this: 

     

    if('Table'[Field] <=1, FORMAT('Table'[Field],"##.##%"), FORMAT('Table'[Field],"General Number"))

     

    This is also true if you wanted to use an if (conditions to average), summarize table, (conditions not to summarize)