Forum Discussion

mfminor's avatar
mfminor
Icon for Helper I rankHelper I
9 years ago
Solved

Calculating Percentages on a field that has multiple values

I have an issue where I am trying to get a percentage based on the number of returns of a specific unit / the total number of units produced. I have tried many different things to get this to work. A...
  • mfminor's avatar
    mfminor
    9 years ago

    I realized that a simple solution was just to format the measure as a percentage. This fixed the issue with the formating but made my table massive in size adding several blank fields with really odd numbers for my total produced column. I have no idea where to go with this one, but here is a pic.

     

    Number of Failure vs Total Produced = FORMAT(DIVIDE(AviationTable[Formula Count], max(GroupedbyUnitDescription[total produced]),"no result"), "percent")