cancel
Showing results for
Did you mean:
Established Member

Grand Total on Matrix

Is there a way for me to put the totals on another column like the photo below? I am currently using matrix visual.

Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions
Super User

Re: Grand Total on Matrix

@mussaenda solution attached, take a look and feel free to change as per your need.

Proud to be a Datanaut! Appreciate your Kudos
Feel free to email me with any of your BI needs.

7 REPLIES 7
Super User

Re: Grand Total on Matrix

@mussaenda do you want it on each row?

Proud to be a Datanaut! Appreciate your Kudos
Feel free to email me with any of your BI needs.

Established Member

Re: Grand Total on Matrix

Actually, they asked me to do the same format as the attached photo. Is it possible? If not, are there other ways to show the grand total on another column?

Highlighted
Super User

Re: Grand Total on Matrix

@mussaenda I dont think there is straight forward way to do this but with some DAX measures I believe we can achieve this. Can you share sample data in excel via onedrive/google drive, remove any sensitive data.

Proud to be a Datanaut! Appreciate your Kudos
Feel free to email me with any of your BI needs.

Established Member

Re: Grand Total on Matrix

Hi @parry2k,

I sent the data to you, thankyou!

Community Support Team

Re: Grand Total on Matrix

You may drag the following calculated column to Rows.

```Column =
SUMX (
Table1[QTY]
)
```
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Established Member

Re: Grand Total on Matrix

The calculated column might be correct but it is giving me this error:

For the qty measure, here is my formula:

```Stock Qty =

CALCULATE([Total Carico Qty],
FILTER(ALL('Date Table'),
'Date Table'[Date] <= MAX('Date Table'[Date]))) -
CALCULATE([Total Scarico Qty],
FILTER(ALL('Date Table'),
'Date Table'[Date] <= MAX('Date Table'[Date])))```

Super User

Re: Grand Total on Matrix

@mussaenda solution attached, take a look and feel free to change as per your need.

Proud to be a Datanaut! Appreciate your Kudos
Feel free to email me with any of your BI needs.

Announcements

Back to School Contest

Engage and empower students with Power BI!

Watch Sessions On Demand!

Continue your learning in our online communities.

Summit Australia 2019

Travel to Melbourne and network with thousands of peers!

Top Ideas
Top Kudoed Authors
Users Online
Currently online: 403 members 3,910 guests
Recent signins: