Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Divide filtered value by (non filtered) total

Hello,   I need help in something that might be simple. I have a table with "total transactions per hour" in one column and "50% of the transactions per hour" in another column, something similar ...
  • ChrisMendoza's avatar
    7 years ago

    Anonymous -

    You should be apple to add another column as:

    % =
    DIVIDE ( TableName[50%], SUM ( TableName[TOT] ), 0 )

  • v-chuncz-msft's avatar
    v-chuncz-msft
    7 years ago

    Anonymous 

     

    You may add the measure below.

    Measure 2 =
    DIVIDE (
        [50%],
        CALCULATE ( SUM ( 'Table'[TOT] ), ALLSELECTED ( 'Table'[HOUR] ) )
    )