Forum Discussion

aleon's avatar
aleon
Frequent Visitor
8 years ago
Solved

percentage

Hello,   On power bi I have a table with a percentage column, and on the total, in stead of show the percentage of the total, power bi sums all the percentages: How can I solve it?   Thank...
  • ChandeepChhabra's avatar
    8 years ago

    aleon : As per my understanding you are trying to find % of REPO S over total (REPO S + REPO N)

     

    If yes, do the following

    1. Do not create a column
    2. Just write the following measure and add it to your table

    REPO S % =
    SUM ( CustomerData[REPO S] )
    / ( SUM ( CustomerData[REPO S] ) + SUM ( CustomerData[REPO N] ) )

     

     

    Here is the snapshot of the result


     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    You can download excel powerpivot file here

     

    thanks