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
johnmelbourne
Helper V
Helper V

HASONEVALUE help

Hi,

This appears to be a common issue but I can't solve it myself. The syntax is killing me.

I want to hide the total in a table.

 

I understand you can use the HASONEVALUE function, but it is beyond me at the moment.

 

My measure is

AverageDaysToResolve_KM = sum(Data[AverageDaysToResolve])
 
How can i use HASONEVALUE to hide the total in my table?
 
img.PNG
 
Any assistance appreciated.
 
Thanks
 

 

2 ACCEPTED SOLUTIONS
d_gosbell
Super User
Super User

The use of HASONEVALUE (or ISFILTERED) would require you to reference the column on the rows that the measure is grouped by (see https://powerpivotpro.com/2013/03/isfiltered-a-better-way-to-detect-totals/

 

But possibly a simpler solution would be to just turn off the totals for that table.

201905 totals off.png

View solution in original post

v-chuncz-msft
Community Support
Community Support

@johnmelbourne ,

 

You may use ISINSCOPE.

https://community.powerbi.com/t5/Desktop/Hide-a-total-of-one-of-my-columns-in-a-Matrix-Table/m-p/649...

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@johnmelbourne ,

 

You may use ISINSCOPE.

https://community.powerbi.com/t5/Desktop/Hide-a-total-of-one-of-my-columns-in-a-Matrix-Table/m-p/649...

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
d_gosbell
Super User
Super User

The use of HASONEVALUE (or ISFILTERED) would require you to reference the column on the rows that the measure is grouped by (see https://powerpivotpro.com/2013/03/isfiltered-a-better-way-to-detect-totals/

 

But possibly a simpler solution would be to just turn off the totals for that table.

201905 totals off.png

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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.