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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.