Forum Discussion

Kopec's avatar
Kopec
Icon for Helper I rankHelper I
1 year ago
Solved

Sum the Unique values to appropriate value

Can anybody help me with this: Sum the unique values ​​in column "B" to the appropriate value in column "A".   Thank you, Jan    
  • mark_endicott's avatar
    mark_endicott
    1 year ago

    Kopec - You can use the below to get your desired answer (just change the column names):

     

    VAR _table = SUMMARIZE( 'Table', 'Table'[Column1],  'Table'[Column2] )
    
    RETURN
    SUMX( _table, 'Table'[Column2])

     

     

     

    If this works for you please accept as the solution to help others with the same challenge. 

  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi Kopec 

    The formula i offered can work in power pivot.

     

    Best Regards!

    Yolo Zhu

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