Forum Discussion
How to exclude or hide a specific row subtotal in a Table Matrix visualization?
- 5 years ago
Hi deb_power123 ,
I'm afraid not. Font settings could only formatted in the Format pane and apply to the whole value fields instead of using conditional format.
If the bold font is necessary, we could only adjust the font size as blod entirely under Values tab.
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi deb_power123 ,
Currently we can just set the font color by conditional format. Create a measure like this:
Format =
IF (
WEEKDAY ( MAX ( 'Table'[Date] ), 2 ) = 6
|| WEEKDAY ( MAX ( 'Table'[Date] ), 2 ) = 7,
"red"
)
Apply it for the previous two measures in conditional format:
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi v-yingjl awesome approach, can I also make bold font along with red color in your above stated forumla? please suggest...
Is there a way to make it both red and bold ...so it looks more distict...please suggest
- v-yingjl5 years ago
Community Support
Hi deb_power123 ,
I'm afraid not. Font settings could only formatted in the Format pane and apply to the whole value fields instead of using conditional format.
If the bold font is necessary, we could only adjust the font size as blod entirely under Values tab.
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.- deb_power1235 years ago
Helper V
Thankyou that worked
- deb_power1235 years ago
Helper V
Hi v-yingjl
I have a table location and I want to hide the total of seats used column[Total Used] and show only total for [%Occupied] .
I am able to do so using the DAX you suggested in above thread but it works correctly only when there are multiple entires of building floor for a location but when it is single location then it is showing both total of seats used column[Total Used] and show only total for [%Occupied].
Below is the DAX to hide the Total Used values in the visual:
Total Used = IF(
HASONEVALUE( 'location'[seats used]),
SUM('location'[seats used]) & "|"
& SUM('location'[seats available]),
BLANK()
)
%Occupied = SUM('location'[seats used])/SUM('location'[seats available])My present visual looks like below :-
Here I want to get rid or hide the total of Used which is highlighted in yellow. The DAX query is only working when there are multiple entries for building floor column corresponding to its location.
Input data :-
Expected output:-
Could you please suggest how and what changes do i need to implement in the above DAX to hide the total of used column[highlighted in yellow]?
Input source is same as the above .pbix file you provided.
kind regards ,
sameer