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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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

Top Solution Authors