Forum Discussion
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:
Any help is appreciated.
Thanks!
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!
1 Reply
- datajunkie_29Helper 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!