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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
PierreCA
Resolver I
Resolver I

Hide total in a matrice

Hello, 

I use a mactrice to report textual data. 

As depicted in the picuture, I dont' want a "sum" of the values by each Entité or date.  

So far, I removed subtotals options, but with very limited effect. 

I want the values to stay with its line and stay invisible otherwise. 

PierreCA_1-1720617510223.png


How can I set that?

 

1 ACCEPTED SOLUTION

After many experimentations, the best solution was to use Inscope to test whether or not the returned value is at the right hierachy level. If not, the formula returns nothing in the matrix, as expected.


Whitout Inscope

PierreCA_1-1721134628537.png


With Inscope

PierreCA_2-1721134725449.png

 

datesRetournee = 

VAR idNotification = SELECTEDVALUE (Notification[Id])
VAR dateNotificationTrouvee = 

        CALCULATE( IF(ISINSCOPE(Notification[Id]), MINX( FILTER(Notification, Notification[Id]=idNotification), Notification[dateNotification])))

RETURN

dateNotificationTrouvee



View solution in original post

3 REPLIES 3
Greg_Deckler
Community Champion
Community Champion

@PierreCA One option would be to use HASONEVALUE in a measure that is used to conditionally format the text to the background color if there is not one value and if there is display it in white.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hello @Greg_Deckler ,

Thanks for your swift response. 

Do you have an exemple of your proposition?

After many experimentations, the best solution was to use Inscope to test whether or not the returned value is at the right hierachy level. If not, the formula returns nothing in the matrix, as expected.


Whitout Inscope

PierreCA_1-1721134628537.png


With Inscope

PierreCA_2-1721134725449.png

 

datesRetournee = 

VAR idNotification = SELECTEDVALUE (Notification[Id])
VAR dateNotificationTrouvee = 

        CALCULATE( IF(ISINSCOPE(Notification[Id]), MINX( FILTER(Notification, Notification[Id]=idNotification), Notification[dateNotification])))

RETURN

dateNotificationTrouvee



Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

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

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.