Forum Discussion

abeiswinger's avatar
abeiswinger
Helper I
9 years ago
Solved

Use Quick Measure to show Percentage by Column?

When I use "show percentage" option, it shows overall instead of by month.  Can I use Quick Measure to show the percentage of "On-Time" data out of the total of On-Time + Past Target?   My data wit...
  • Anonymous's avatar
    Anonymous
    9 years ago

    abeiswinger,

    Right-click your table and select “New measure” to create the following measure in your tables.

    Total = SUM(Table[Column A])
    On-Time total = CALCULATE(SUM(Table[Column A]),FILTER(Table, Table[Column C]="On-Time"))
    percent = [On-Time total]/[Total]

    Then create line chart as follows.



    Regards,