Showing results for 
Search instead for 
Did you mean: 
New Member

Set a total column of calculated columns

I have a Matrix Preview visual which presents the data from 3 tables.


Table 1: Info about sales persons, including name and id

Table 2: Info about sales, including month, sales person's id, and sold product's id

Table 3: Info about products, including product id, month of the sales and calculated column with COUNTROWS("Table 3")


Obviously Table 1 and Table 3 related via Table 2.


I have a Matrix visual that has as rows month of the sale (from Table 2); as columns -- sales persons' names (from Table 1) and as values the row counts (from Table 3).


Everything looks nice.


I need to add a Total column which will summarize all values for each month.


Any suggestions are greatly appreciated.


Moderator v-yuezhe-msft

Re: Set a total column of calculated columns

Hi @Ramzay,

It seems that you want to get sold product count of each month, right? If so, could you please share sample data of the three tables? We need to know that if there are duplicated values in “month of the sales” column and product id column in Table 3 and what field you use to create relationship between Table 2 and Table 3.

Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Top Solution Authors
Top Kudoed Authors