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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.