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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply

Grand total using MATRIX Tables

Hi Life savers,

 

here is the my case i need a grand total using MATRIX table of my row, Pease help me.

im able to get totals of USD and Canada , but unable to get grand total of both. that is (15+25)=40 in last column

 

faheem_Latif_BI_0-1738594147088.png

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @faheem_Latif_BI 

 

According to the default design of Power BI, I am afraid it is impossible to achieve the same style as you expect.

 

So I suggest you try the styles provided by speedramps . Or look for custom visuals.

 

Of course, I can also provide some methods to help you achieve it as much as possible. You can try the following methods:

 

Your data model needs to be of the following form:

 

“Table”

vnuocmsft_0-1738826537134.png

 

vnuocmsft_1-1738826586955.png

 

Click the following button

vnuocmsft_2-1738826709650.png

 

Create measures.

 

TotalUSA = 
CALCULATE(
    SUM('Table'[Value]),
    FILTER(
        ALL('Table'),
        'Table'[Country] = "USA"
    )
)

 

TotalCanada = 
CALCULATE(
    SUM('Table'[Value]),
    FILTER(
        ALL('Table'),
        'Table'[Country] = "Canada"
    )
)

 

Create a calculated column.

 

Total USA, Canada = SUM('Table'[Value])

 

vnuocmsft_6-1738827317832.png

 

Please refer to the following link to modify the matrix format.

 

Solved: Matrix - Hide a column in visual but consider in c... - Microsoft Fabric Community

 

Here is the result.

 

vnuocmsft_7-1738827343926.png

 

Regards,

Nono Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @faheem_Latif_BI 

 

According to the default design of Power BI, I am afraid it is impossible to achieve the same style as you expect.

 

So I suggest you try the styles provided by speedramps . Or look for custom visuals.

 

Of course, I can also provide some methods to help you achieve it as much as possible. You can try the following methods:

 

Your data model needs to be of the following form:

 

“Table”

vnuocmsft_0-1738826537134.png

 

vnuocmsft_1-1738826586955.png

 

Click the following button

vnuocmsft_2-1738826709650.png

 

Create measures.

 

TotalUSA = 
CALCULATE(
    SUM('Table'[Value]),
    FILTER(
        ALL('Table'),
        'Table'[Country] = "USA"
    )
)

 

TotalCanada = 
CALCULATE(
    SUM('Table'[Value]),
    FILTER(
        ALL('Table'),
        'Table'[Country] = "Canada"
    )
)

 

Create a calculated column.

 

Total USA, Canada = SUM('Table'[Value])

 

vnuocmsft_6-1738827317832.png

 

Please refer to the following link to modify the matrix format.

 

Solved: Matrix - Hide a column in visual but consider in c... - Microsoft Fabric Community

 

Here is the result.

 

vnuocmsft_7-1738827343926.png

 

Regards,

Nono Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

PaulDBrown
Community Champion
Community Champion

See if this helps:

Creating a custom matrix 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Thanks for the reply, but i need a same out put as i provided in image 

speedramps
Super User
Super User

Try either of these methods.

Then please click the thumbs buttom up for the idea,

and also click Accept Solution if it works.

Thanks

 

speedramps_1-1738598348263.png

 

 

speedramps_0-1738598321112.png

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.