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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
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 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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