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

How to sum multiple arrays

Hello everyone,

I need your help because I have the following problem: I have three different tables like this:

Milou190_0-1665672769559.png

Each table has a total and I'd like a row below these three tables that add up to the three totals above. To be clearer, for example I want this line to total the column BI = 2,746,000 + 40,000; KIBO = 9,003,556 + 3,325,000 + 885,000 (= 13,213,556); etc

Any idea how I could do that?

1 ACCEPTED SOLUTION
v-xiaosun-msft
Community Support
Community Support

Hi @Anonymous ,

 

According to your description, here is my solution.

It may be not achievable to add a row to each table to show the sum of each column of three tables. Because you cannot add calculated columns or measures to rows and if you use calculated columns or measues to create a new table, it cannot be appended to other tables with Power Query.

I suggest that you can append three tables first and then display the totals. Please follow these steps.

vxiaosunmsft_0-1665740140763.pngvxiaosunmsft_1-1665740163059.png

Then merge first three columns.

vxiaosunmsft_2-1665740211313.png

Make sure that each column is in number format not text(a summing symbol appears next to the column header), otherwise you cannot get the correct total.

vxiaosunmsft_3-1665740397829.png

 

I attach my sample below for your reference.

 

Best Regards,
Community Support Team _ xiaosun

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

View solution in original post

1 REPLY 1
v-xiaosun-msft
Community Support
Community Support

Hi @Anonymous ,

 

According to your description, here is my solution.

It may be not achievable to add a row to each table to show the sum of each column of three tables. Because you cannot add calculated columns or measures to rows and if you use calculated columns or measues to create a new table, it cannot be appended to other tables with Power Query.

I suggest that you can append three tables first and then display the totals. Please follow these steps.

vxiaosunmsft_0-1665740140763.pngvxiaosunmsft_1-1665740163059.png

Then merge first three columns.

vxiaosunmsft_2-1665740211313.png

Make sure that each column is in number format not text(a summing symbol appears next to the column header), otherwise you cannot get the correct total.

vxiaosunmsft_3-1665740397829.png

 

I attach my sample below for your reference.

 

Best Regards,
Community Support Team _ xiaosun

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

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.