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

 

11.png

 

Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: Grand Total on Matrix

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






Did I answer your question? Mark my post as a solution.

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





View solution in original post

7 REPLIES 7
Super User
Super User

Re: Grand Total on Matrix

@mussaenda do you want it on each row?






Did I answer your question? Mark my post as a solution.

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





mussaenda Senior Member
Senior Member

Re: Grand Total on Matrix

11.png

 

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?

Super User
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.

 

 






Did I answer your question? Mark my post as a solution.

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





mussaenda Senior Member
Senior Member

Re: Grand Total on Matrix

Hi @parry2k,

 

I sent the data to you, thankyou! Smiley Happy

Community Support Team
Community Support Team

Re: Grand Total on Matrix

@mussaenda ,

 

You may drag the following calculated column to Rows.

Column =
SUMX (
    FILTER ( Table1, Table1[Grade] = EARLIER ( Table1[Grade] ) ),
    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.
mussaenda Senior Member
Senior Member

Re: Grand Total on Matrix

Hi @v-chuncz-msft ,

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

A circular dependency was detected: Load/Unload[Column].

 

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])))

Thank you for your help!

Highlighted
Super User
Super User

Re: Grand Total on Matrix

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






Did I answer your question? Mark my post as a solution.

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





View solution in original post

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 48 members 884 guests
Please welcome our newest community members: