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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Can't achieve SUM within group

I can't achieve the last column "Sum Of The Parent":

ParentClientValueSum Of The Parent
11568
125168
131268
24948029608
252000029608
2612829608

 

Like above... My goal is to display the SUM for where parent =1, for where parent =2 and so on...

 

How can I achieve it in DAX?

3 REPLIES 3
PijushRoy
Super User
Super User

Hi @Anonymous 

Can you please try below DAX for measure

Measure = CALCULATE(
    SUM('Table'[Value]),
    ALLEXCEPT('Table','Table'[Parent]))


If solve the requirement, please mark this answer as a solution.




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





lukiz84
Memorable Member
Memorable Member

Hi,

 

do you want it as a column or a measure?

 

 

Anonymous
Not applicable

It doesnt matter as long as I can display it in a table like the above...

 

I think it has to be a column for it to work...

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 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.