Forum Discussion

alicelpn's avatar
alicelpn
Frequent Visitor
5 years ago
Solved

Stacked Column Chart to show %

Hi All,   Seeking for help.  I would like to convert the Count (Distinct) of Employee User ID as column values (staked bar chart on the left) to percentage as staked bar chart on the right.   ...
  • v-deddai1-msft's avatar
    v-deddai1-msft
    5 years ago

    Hi alicelpn ,

     

    Unfortunately, there's no options for it now. But you can create a measure  like:

     

    Measure = COUNT(Table[Employee User ID])/CALCULTAE(COUNT(Table[Employee User ID]),ALLEXCEPT(Table,Table[Employee code]))

     

    And put it in tooltips, it will show in tooltips when you hover on the stacked bar chart. Please refer to the similar post: https://community.powerbi.com/t5/Desktop/Display-percentage-in-stacked-column-chart/td-p/560354

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

    Best Regards,

    Dedmon Dai