Reply
Gigi4691
Frequent Visitor
Partially syndicated - Outbound

Total sum value of 2 visuals tables

Hi,

How can I get the sum of 2 visuals tables ? I have created measures for each month and one for total months 'Total 2024' .               (data from 1 table).

Thank you!

 

Gigi4691_0-1725447349674.png

 

 

1 ACCEPTED SOLUTION

Syndicated - Outbound

So then create 3rd table, put all of these measures and filter all categories that are shown in the first two tables, filter it in the filter pane. Just don't put 'Services final' into a table if you do not need to see every line.

Might I add that you don't really need separate measures for each month and total, you could only create one measure SUM('Project P&L 2024'[External Revenue]) and then add it to the matrix (Rows - Services final, columns - months, values - that one measure), in a matrix you can add totals column. Instead of having 13 measures you would have 1.

View solution in original post

10 REPLIES 10
moncx
Resolver II
Resolver II

Syndicated - Outbound

There is more information needed to answer your question. Are there the same measures and filters used in both of the tables? If not then just create 3rd measure that sums first two measures. If in both tables only one measure is used, then how the tables differs? 

Syndicated - Outbound

I have created 1 measure for each month 

January 2024 = CALCULATE(SUM('Project P&L 2024'[External Revenue]),YEAR('Project P&L 2024'[Month])=2024,MONTH('Project P&L 2024'[Month])=1)
February 2024 = CALCULATE(SUM('Project P&L 2024'[External Revenue]),YEAR('Project P&L 2024'[Month])=2024,MONTH('Project P&L 2024'[Month])=2)
etc...
and a measure for the total month
Total 2024 = [January 2024]+[February 2024]+[March 2024]+[April 2024]+[May 2024]+[June 2024]+[July 2024]+[August 2024]+[September 2024]+[October 2024]+[November 2024]+[December 2024]
I have created the 1st visual table and filtered some categories
after, I have created the 2nd visual table and filtered the others cagegories.

Syndicated - Outbound

So then create 3rd table, put all of these measures and filter all categories that are shown in the first two tables, filter it in the filter pane. Just don't put 'Services final' into a table if you do not need to see every line.

Might I add that you don't really need separate measures for each month and total, you could only create one measure SUM('Project P&L 2024'[External Revenue]) and then add it to the matrix (Rows - Services final, columns - months, values - that one measure), in a matrix you can add totals column. Instead of having 13 measures you would have 1.

Syndicated - Outbound

Hi moncx,  I have created your measure into a 3rd table and added months in the Filters and it is perfect!  Thank you!

Syndicated - Outbound

as I explained before, I can not use a matrix, and I need the total $ by category...grand total of all categories...I think we need to group both visuals tables (not matrix) and create the grand total, but I don't know how to do that. Thank you!

Syndicated - Outbound

yes it is the same measures for both but I need in the 3rd visual table only the grand total of both, not with all rows.

Uzi2019
Super User
Super User

Syndicated - Outbound

Hi @Gigi4691 

Just dont take value in the rows you may get the total of all the values.. and avoid taking any filter to it..

Uzi2019_0-1725448169799.png

 

Uzi2019_1-1725448189790.png

 

 

Like this. 
I hope I answered your question!

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Syndicated - Outbound

Thank you for your answer but I need to view the 'Services final' categories (1st column). I need a 3rd visual table with the sum of these 2 visuals tables. Note: I can not use a matrix because when we extact the data from a visual table, we get loose the matrix visual.

I think we need to group them but I don't know how to do that and obtain the grand total.

Important: I need the months by columns, it is the reason I have created measures because I  cannot use a matrix visual.  Thank you!

Syndicated - Outbound

Thank you for your answer but I need to view the 'Services final' categories (1st column). I need a 3rd visual table with the sum of these 2 visuals tables. Note: I can not use a matrix because when we extact the data from a visual table, we get loose the matrix visual.

I think we need to group them but I don't know how to do that and obtain the grand total.

Syndicated - Outbound

Thank you for your answer but I need to view the 'Services final' categories (1st column). I need a 3rd visual table with the sum of these 2 visuals tables. Note: I can not use a matrix because when we extact the data from a visual table, we get loose the matrix visual.

 

avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)