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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
madmanmark198
Frequent Visitor

Remove Total from Column in a Table

Hi all

 

I have a table with a calculated measure where I am working out the number of days since a particular date  in a column.  Below is my DAX for it.

 

Days Open = DATEDIFF(MAX('Gift'[date]),TODAY(), DAY)
 
However when I use this measure in the table it totals it up in the column which I dont need so I wanted to find out if there was a way to hide or remove this from the totals row.  I want to show the other totals so its just for this specific column " Days Open" only.
 
madmanmark198_0-1655454706101.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @madmanmark198,

Measure expression cant be used as a category to expand records, so the 'do not summarize' option will not appear on this field 'right click' menu.

For your requirement, I'd like to suggest you add an if statement to your expression to check the current row context level to prevent the calculation on the total level.

Days Open =
IF (
    ISINSCOPE ( Table[Category] ),
    DATEDIFF ( MAX ( 'Gift'[date] ), TODAY (), DAY )
)

ISINSCOPE function (DAX) - DAX | Microsoft Docs

Regards,

Xiaoxin Sheng

View solution in original post

6 REPLIES 6
PierreL69
Helper III
Helper III

Thanks a lot very usefull !

rohit_singh
Solution Sage
Solution Sage

Hi @madmanmark198 ,

You can click on the visual, then navigate to the visualizations pane--> Totals --> Values --> Off

rohit_singh_0-1655455009411.png

 

Kind regards,

Rohit


Please mark this answer as the solution if it resolves your issue.
Appreciate your kudos! 🙂

Thanks Rohit but this turns of the whole row of totals.  I would still like to show the totals of a number of the other columns I have.  So what I am looking for is the total for that specific column not to show.  Do you know of a way?

Hi @madmanmark198 ,

You could try clicking on the dropdown icon in the column and selecting don't summarize. Maybe that helps?

rohit_singh_0-1655455852817.png

 


Kind regards,

Rohit

I tried that but its not an option because its a calculate measure.  All I get is the below:

madmanmark198_0-1655456277907.png

 

Anonymous
Not applicable

Hi @madmanmark198,

Measure expression cant be used as a category to expand records, so the 'do not summarize' option will not appear on this field 'right click' menu.

For your requirement, I'd like to suggest you add an if statement to your expression to check the current row context level to prevent the calculation on the total level.

Days Open =
IF (
    ISINSCOPE ( Table[Category] ),
    DATEDIFF ( MAX ( 'Gift'[date] ), TODAY (), DAY )
)

ISINSCOPE function (DAX) - DAX | Microsoft Docs

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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