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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ovonel
Post Prodigy
Post Prodigy

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 @ovonel 

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.

lukiz84
Memorable Member
Memorable Member

Hi,

 

do you want it as a column or a measure?

 

 

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors