cancel
Showing results for 
Search instead for 
Did you mean: 
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.


Go to My LinkedIn Page


View solution in original post

2 REPLIES 2
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.


Go to My LinkedIn Page


Thanks works perectly!

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.