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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. 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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.