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
Sean-OReilly
Helper IV
Helper IV

Turn Off a Total from a Table Visual

Hi

How turn off the Total on Column "Vendor Rate Description"?

This row is generated using a DAX Switch Measure and it is a Text based Column?

 

Sean-OReilly_0-1599665798231.png

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Sean-OReilly ,

add additional if in your filter

if( isfiltered(Table[Account]) , <Your formula> , blank())

 

or you can also try isinscope

https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/

https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

3 REPLIES 3
Greg_Deckler
Community Champion
Community Champion

@Sean-OReilly - You can turn off Totals in the Format pane. However, if you want it just for that measure,

Measure =
  VAR __Calc = <some calc>
RETURN
  IF(HASONEVALUE('Table'[AccountID]),__Calc,BLANK())

You can also get there doing a similar thing with COUNTROWS('Table') and comparing to COUNTROWS(ALL('Table')) if they are the same, then you are in a total row. 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
amitchandak
Super User
Super User

@Sean-OReilly ,

add additional if in your filter

if( isfiltered(Table[Account]) , <Your formula> , blank())

 

or you can also try isinscope

https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/

https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks man - it worked

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors