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
LAndes
Advocate III
Advocate III

Create a new Colunm that subtotals other rows

Hi,

This may be a stupid questions, but hopefully someone can help. I am trying to create a new column with Total Income. I have a sheet that looks like this. I have a list of individuls who are also part of households. Each indivual has income and I want a column that list the Housholds total income. So my file looks like this:

PersonHouseholdIncome 
ASmith$5
BSmith$10
CJones$5
DJones$20

 

I know that i can create a new measure "Total Income= Calculate(sum(Income)) and then create  a table in the visulization field that has total income, but what i would really like is another COLUMN that looks like this:

 

PersonHouseholdIncome Total HH Income
ASmith$5$15
BSmith$10$15
CJones$5$25
DJones$20

$25

 

 

Any ideas?

1 ACCEPTED SOLUTION
Vvelarde
Community Champion
Community Champion

@LAndes

 

Hi,

 

Use this in your new column:

 

Total HH Income = CALCULATE(SUM(Table1[Income ]),ALLEXCEPT(Table1,Table1[Household]))

 

TotalHH.png




Lima - Peru

View solution in original post

1 REPLY 1
Vvelarde
Community Champion
Community Champion

@LAndes

 

Hi,

 

Use this in your new column:

 

Total HH Income = CALCULATE(SUM(Table1[Income ]),ALLEXCEPT(Table1,Table1[Household]))

 

TotalHH.png




Lima - Peru

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.