Forum Discussion

wi11iamr's avatar
wi11iamr
Icon for Advocate II rankAdvocate II
10 years ago
Solved

Dynamically Calculate Percentage for Line in "Line & Stacked Column" chart

I have a stacked column chart showing the number of incidents In and Out of SLA, per Month. I would now like to convert to a Line & Stacked Column chart, where the Line is the percentage of In SLA i...
  • Greg_Deckler's avatar
    10 years ago

    Try something like:

     

    MyMeasure = COUNT([Incidents])/CALCULATE(COUNT([Incidents]),ALL([Table]))

    Putting that measure in your visualization should filter the numerator by the axis (month) but the denominator will always include all incidents because of the ALL clause. Thus, you *should* end up with what you want.