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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
TimeaW
Frequent Visitor

static grand total in matrix when filtered

Hi,

 

I have a matrix with different countries as rows and Value (USD) as values. If I filter on a country, I want to keep the grand total unchanged. So in this case, if I filter on Zambia, I want it to show 103.55 for Zambia and 287,524.39 for Total.

TimeaW_3-1682432542914.png

 

TimeaW_4-1682432565203.png

 

 

Is it possible?

 

 

1 ACCEPTED SOLUTION
TimeaW
Frequent Visitor

I've managed to solve it with:

Total  = if(isinscope(Data[Country]),sum(Data[USD Value]),calculate(sum(Data[USD Value]),all(Data[Country])))

View solution in original post

4 REPLIES 4
TimeaW
Frequent Visitor

I've managed to solve it with:

Total  = if(isinscope(Data[Country]),sum(Data[USD Value]),calculate(sum(Data[USD Value]),all(Data[Country])))
TimeaW
Frequent Visitor

Can anyone help? Maybe a DAX formula with ALL? I tried but couldn't find one which worked.

 

Thanks in advance.

TimeaW
Frequent Visitor

Hi,

 

I tried to look there but couldn't find the option to show grand total for this visual. I can only edit interactions with other visuals.

Ajendra
Resolver I
Resolver I

Hi,

 

I hope this message finds you well!

 

Use edit Interactions to show Grand Total! 

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.