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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors
Top Kudoed Authors