Forum Discussion

PowerRobots99's avatar
PowerRobots99
Helper II
1 year ago
Solved

Calculated column in output table

Hello Friends,

 

May i know how to calculate a column in output table such that it should filter each category in the input table, take sum of corresponding values and giver result in "CalculatedColumn".

 

Please refer the screenshot -

 

 

 

2 Replies

  • Hi PowerRobots99 - You can achieve this using a measure  as below instead of calculated column

    Total Value by Category =
    CALCULATE(
        SUM('inpu'[Value]),
        ALLEXCEPT('inpu', 'inpu'[Categoryname])
    )

     

    Hope it works.