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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
webportal
Impactful Individual
Impactful Individual

Show grand total for last column only

Hello,

 

Is it possible to show the Grand Total for the last column only?

Capturar.JPG

The other columns cannot be added.

I can either work with a table or matrix.

1 ACCEPTED SOLUTION
Phil_Seamark
Employee
Employee

Hi again @webportal

 

Just create calculated measures over the columns that you don't want the total.

 

Then wrap the new measure to only show values on the rows.  You'll need to point the [Category] column to something that you are actually using in your table visual (one of the ones we can't see)

 

Sum of Quant. = 
    IF(
        ISFILTERED('Códigos e valores'[Category]),
        SUM('Csv'[Quant.])
      )

To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

View solution in original post

3 REPLIES 3
Phil_Seamark
Employee
Employee

Hi again @webportal

 

Just create calculated measures over the columns that you don't want the total.

 

Then wrap the new measure to only show values on the rows.  You'll need to point the [Category] column to something that you are actually using in your table visual (one of the ones we can't see)

 

Sum of Quant. = 
    IF(
        ISFILTERED('Códigos e valores'[Category]),
        SUM('Csv'[Quant.])
      )

To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

LOL, I was looking on the Format tab.
But with DAX you can solve anything!
Thanks!
webportal
Impactful Individual
Impactful Individual

Actually, I'm trying with:

 

Measure = IF(ISFILTERED('Table'[Category]);SUM([Quant.]))

This hides the grand total but then it doesn't summarize rows by Category, ie, it shows all the items.

 

So all rows get a 1 for the measure above.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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