Forum Discussion
Firas_Belgouthi
1 year agoRegular Visitor
SUB TOTAL MATRIX ISSUE
Hello Power BI community , i have a pborlem with this matrix , i have two parents , one is X and the other is Empty , for the empty i don't want to see the sub totals , i want to hide the row or to c...
- 1 year ago
Hello, Firas_Belgouthi ,
not perfect, but you can try this:
_sum_hidden = IF( ISINSCOPE('Table'[dim]) && ISBLANK( SELECTEDVALUE('Table'[dim])) && NOT(ISINSCOPE('Table'[dim_two])) // here add the same NOT ININCOPE for your other columns that are presents in the matrix , BLANK(), SUM('Table'[sum]) )
vojtechsima
Super User
1 year agoHello, Firas_Belgouthi ,
not perfect, but you can try this:
_sum_hidden =
IF(
ISINSCOPE('Table'[dim]) && ISBLANK( SELECTEDVALUE('Table'[dim]))
&& NOT(ISINSCOPE('Table'[dim_two]))
// here add the same NOT ININCOPE for your other columns that are presents in the matrix
, BLANK(), SUM('Table'[sum]) )