Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Simon_Br
Helper I
Helper I

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 3
Simon_Br
Helper I
Helper I

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

 

Example:

CategoryProduktCost
CarA946.2
TrainB1068
BikeC1273.8
   

 

Simon

ValtteriN
Community Champion
Community Champion

Hi,

Try this:

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

ValtteriN_0-1691672982120.png

 

I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!

My LinkedIn: https://www.linkedin.com/in/n%C3%A4ttiahov-00001/





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




eliasayyy
Memorable Member
Memorable Member

hello @Simon_Br  try the summarize functio

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.