Forum Discussion

joshcomputer1's avatar
9 years ago
Solved

% of total

Straight forward question here.....I have read the other incidents related to % of totals and I think mine is similar, but can't figure it out.  I have a column named 'Dataset'[count] that is either ...
  • joshcomputer1's avatar
    joshcomputer1
    9 years ago

    I ended up adding two columns. One for No responses [QuestionNumNo] and one for yes responses[QuestionNumYes].  Then used the following to divide the yes's by the total.  This seems to work.

     

     

    QuestionNumPerc = sum('DataSet'[QuestionNumYes]) / (sum('DataSet'[QuestionNumYes])+sum('DataSet'[QuestionNumNo]))