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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
SoufTC
Helper I
Helper I

Hide value and subtotals row from matrix

I have a data which appears as following :

 

SoufTC_1-1657120324119.png

 

I’m having trouble to hide from matrix values in yellow.

 

First, hide value and keep it just in subtotals. (data)[Evolution 180j]

Second, hide (data)[LAST %180j] from subtotals.

 
I tried this as a calculation for the measures :
Evolution 180J = SWITCH( TRUE(),
                         ISINSCOPE(data[SITE]) && ISINSCOPE(data[date]),
                         BLANK(), [LAST % 180 j] - [First % 180 j] )


Last 180j = CALCULATE (SUM (data[180 j]) , 
                          LASTNONBLANK( data[date], sum(data[180 j]) ))

 

 

 

Please, any help?

Thank's in advance

 

2 REPLIES 2
v-yanjiang-msft
Community Support
Community Support

Hi @SoufTC ,

For Evolution 180J, can only appear blank as shown, but not completely hide them. For LAST %180J, you can use the same function ISINSCOPE to display blank in the subtotal.

Last 180j =
IF (
    ISINSCOPE ( data[date] ),
    CALCULATE (
        SUM ( data[180 j] ),
        LASTNONBLANK ( data[date], SUM ( data[180 j] ) )
    ),
    BLANK ()
)

You can only show them blank, but not remove/hide them, it's by design.

 

Best Regards,
Community Support Team _ kalyj

If this post helps, then please considerAccept it as the solution to help the other members find it more quickly.

@v-yanjiang-msft thank you for your answer but I need to hide them and not show them blank...

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 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.

Top Solution Authors
Top Kudoed Authors