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
datajunkie_29
Helper I
Helper I

Disable Total for a text column

Hello All,

 

I'm trying to hide the total of a text column that is using aggregation like first or last value it is showing the text in the Total row. I have disable/hide the text from the Total. Can we achive this? 

Visualization used: Table


I tried implementing steps from this forum but they're not satisfying my requirement.

Solved: Disable total of text column in Grand Total. - Microsoft Fabric Community

 

I tried implementing this measure, however it does the job partially. But if the text column has two values the row-level results returns a blank.

Text Measure = 
IF ( HASONEVALUE ( Table[Columnonrow] ), MAX ( Table[TextColumn] ) )

Also as the text values are too lengthy so the field formatting does not work. 

eg:

datajunkie_29_0-1689737564550.png

 

Any help is appreciated.

Thanks!
 

1 ACCEPTED SOLUTION
datajunkie_29
Helper I
Helper I

Closing this thread as I found a solution that works for my case. Changing HASONEVALUE to HASONEFILTER did the trick.


measure new =

IF ( HASONEFILTER ( Table[Columnonrow] ), MAX ( Table[TextColumn] ) )

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

 

Thanks!

View solution in original post

1 REPLY 1
datajunkie_29
Helper I
Helper I

Closing this thread as I found a solution that works for my case. Changing HASONEVALUE to HASONEFILTER did the trick.


measure new =

IF ( HASONEFILTER ( Table[Columnonrow] ), MAX ( Table[TextColumn] ) )

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

 

Thanks!

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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