Forum Discussion

Simon_Br's avatar
Simon_Br
Icon for Helper I rankHelper I
3 years ago

Sum whit lookupvalue

Hello,  

I have the challenge with the Dax formula. I want a new table that contains only the total from the detail table.

 

Example:

 

ProduktCost
A50
B60
C4
A55
B75
C245
A188.6
B219.2
C249.8
A280.4
B311
C341.6
A372.2
B402.8
C433.4

 

 

A946.2
B1068
C1273.8

 

We can i this do it? I trying whit lookupvalue +sum, but no sucess.

 

Can anyone help me with this? Many thanks in advance!

 

Simon

3 Replies

  • eliasayyy's avatar
    eliasayyy
    Icon for Memorable Member rankMemorable Member

    hello Simon_Br  try the summarize functio

    New Table = SUMMARIZE('Table','Table'[Produkt],"Total Cost",SUM('Table'[Cost]))

  • Thank for the answer. We function the code, when the code one existing table paste?

     

    Example:

    CategoryProduktCost
    CarA946.2
    TrainB1068
    BikeC1273.8
       

     

    Simon