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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
afrutos
Resolver I
Resolver I

SHOW TOTAL COLUMN ON FIRST POSITION IN MATRIX

Hi everyone ,

Is there any way to move the total column, so that instead of being on the right, it is on the left?
I can't find any information

 

Thanks

 

afrutos_0-1669388078396.png

 

1 ACCEPTED SOLUTION
Jihwan_Kim
Super User
Super User

Hi,

I tried to create a sample pbix file to demonstrate what is an alternative way.

Please check the below picture and the attached pbix file.

I am not sure how your datamodel looks like, but I hope the below can provide some ideas on how to create a solution for your datamodel.

 

Jihwan_Kim_0-1669389308975.png

 

Jihwan_Kim_1-1669389480000.png

 

 

 

Sales total measure: =
IF (
    SELECTEDVALUE ( Country[Country] ) = "Total",
    CALCULATE ( SUM ( Data[Sales] ), ALL ( Country ) ),
    SUM ( Data[Sales] )
)

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

View solution in original post

4 REPLIES 4
Jihwan_Kim
Super User
Super User

Hi,

I tried to create a sample pbix file to demonstrate what is an alternative way.

Please check the below picture and the attached pbix file.

I am not sure how your datamodel looks like, but I hope the below can provide some ideas on how to create a solution for your datamodel.

 

Jihwan_Kim_0-1669389308975.png

 

Jihwan_Kim_1-1669389480000.png

 

 

 

Sales total measure: =
IF (
    SELECTEDVALUE ( Country[Country] ) = "Total",
    CALCULATE ( SUM ( Data[Sales] ), ALL ( Country ) ),
    SUM ( Data[Sales] )
)

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

It will only work if one is not using any field in columns section of matrix visual. I have a field added in columns and few fields added in rows which is been used for drill down in proper heirarchy. Using different kinds of measures in values. 
When using columns for the specific visual column subtotal is generated and you will have Total section which displays all the measures under it along with other column headers. Moving column subtotal to front will not work if we are using columns in matrix visual.

Thanks works perectly!

@afrutos and @Jihwan_Kim 

The solution suggested above won't work with complex data model it seems. I am using matric visual in report which is using three fields in rows for drill down and in columns am using a field and using different measures in values but to create the custom measure as suggested above will not work properly?

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.