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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
abeirne
Helper II
Helper II

Total of a count on the left hand side of matrix

Hi all, I have been asked to move the matrix's total column onto the right hand side of the matrix. I have tried to do this on my own, but cannot find the correct measure. I am counting the number of analyst per day, and that is giving me the number of reports within their queue. It looks like this : (I have hidden the names)

abeirne_0-1644461908288.png

The # of reports is the count of analyst names. I can't figure out how to put the total on the left side, as I am working with a count and not a sum. Is there anything I can do to achieve this? Thank you all. 

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

Hi @abeirne ,

I have create a simple sample, please have a try.

vpollymsft_0-1644830369848.jpeg

 

 

Then create a calculated table.

column_total =
VAR _summarize =
    SUMMARIZE ( Table2, [Name], "Date", " Total", "Value", SUM ( Table2[Value] ) )
RETURN
    UNION ( Table2, _summarize )

 

vpollymsft_1-1644830369852.png

 

 

 

Currently, there is no way to change the column subtotals to left. Please click the Idea link below and vote for this function.

Idea Link: https://ideas.powerbi.com/ideas/idea/?ideaid=fa4c855b-67ce-4970-b4ee-72226772ba79

View solution in original post

3 REPLIES 3
v-rongtiep-msft
Community Support
Community Support

Hi @abeirne ,

I have create a simple sample, please have a try.

vpollymsft_0-1644830369848.jpeg

 

 

Then create a calculated table.

column_total =
VAR _summarize =
    SUMMARIZE ( Table2, [Name], "Date", " Total", "Value", SUM ( Table2[Value] ) )
RETURN
    UNION ( Table2, _summarize )

 

vpollymsft_1-1644830369852.png

 

 

 

Currently, there is no way to change the column subtotals to left. Please click the Idea link below and vote for this function.

Idea Link: https://ideas.powerbi.com/ideas/idea/?ideaid=fa4c855b-67ce-4970-b4ee-72226772ba79

MargaritaG
Resolver I
Resolver I

Hey, 
If you have e.g. table: Date, Analyst Name and # reports = count( Data[Analyst Name])
Then you can create calculated table 
Analyst Total = Summarize ( Data, Data[Analyst Name], "Total",  [# Reports])
Create Relationship based on Analyst Name between two tables
Then add these table columns into matrix Rows, and use Data (original table) columns Date  in columns & measure [# Reports] in values

Then turn off row sub totals 
and  turn off in row headers Stepped Layout

Result 

MargaritaG_0-1644481210796.png

Let me know if that solves your problem 



VahidDM
Super User
Super User

HI @abeirne 

 

Check this link:
https://community.powerbi.com/t5/Desktop/Matrix-with-left-hand-totals/m-p/1238695

 

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: 
www.linkedin.com/in/vahid-dm/

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors