cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Chitemerere
Responsive Resident
Responsive Resident

Sum of Rows in a Table with Calculated Columns

I have the following table with calculated columns:

 

Equipment.PNG

 

 

How do i get the row Totals for each Country?

 

Regards,

Chris

1 ACCEPTED SOLUTION
aj1973
Community Champion
Community Champion

Welcome,

So you either Add a new column in your table like thisTotal Country.PNG

 

Or a measure like this (to save room in your Table or Model)

Total Measure.PNG

 

Hope i was on traget.

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

View solution in original post

4 REPLIES 4
aj1973
Community Champion
Community Champion

Hi @Chitemerere 

Your request is not really clear!

Each country occupies one row! what that you want to calculate exactly?

 

Regards 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Chitemerere
Responsive Resident
Responsive Resident

Many thanks. Yes each Country occupies one row.  What i want is the sum of all "Calculated Columns" accross each country i.e. Sum(Number of HPLCs, Number of GCs, .... Analytical Balances, Biosafety Cabinets).

 

Regards,

Chris

aj1973
Community Champion
Community Champion

Welcome,

So you either Add a new column in your table like thisTotal Country.PNG

 

Or a measure like this (to save room in your Table or Model)

Total Measure.PNG

 

Hope i was on traget.

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

View solution in original post

Chitemerere
Responsive Resident
Responsive Resident

Many thanks, that is the right direction.  I changed it slightly to the following:

 

Total Equipment =
SUMX(Table, [Analytical Balances] + [Dissolution Testers] + [FTIRs] + [Number of GCs] + [Number of HPLCs])
 
Regards,
Chris

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Get Ready for Power BI Dev Camp

Power BI Dev Camp - June 24th

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors