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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.