Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi,
Matrix visual as shown below , displays the sub level details even if there is only one sub level.
I want to hide the sub level if there is only one sub level, in this case to display only upto "Provincial" level , coz values is same in only one sub level i.e. "ADP (Provincial)"
Any Help ?
Solved! Go to Solution.
Hi @Arshadjehan ,
Sorry for misunderstanding your request. Here we cannot filter the matrix directly, we can create measure to work on it.
sum of be =
VAR dis =
DISTINCTCOUNT ( 'Table'[sub2] )
var be = SUM('Table'[BE])
var a = IF(dis = 1
&& ISINSCOPE ( 'Table'[sub2] )
&& OR (
SUM ( 'Table'[Release] )
= CALCULATE ( SUM ( 'Table'[Release] ), ALL ( 'Table'[sub2] ) ),
SUM ( 'Table'[Release] ) = 0),TRUE())
var b =
IF(dis = 1
&& ISINSCOPE ( 'Table'[sub2] )
&& OR (
be
= CALCULATE ( be, ALL ( 'Table'[sub2] ) ),
be = 0),TRUE())
RETURN
IF (
a&&b,
BLANK(),be
)
For more details, please check the pbix as attached.
Hi @Arshadjehan ,
Sorry for misunderstanding your request. Here we cannot filter the matrix directly, we can create measure to work on it.
sum of be =
VAR dis =
DISTINCTCOUNT ( 'Table'[sub2] )
var be = SUM('Table'[BE])
var a = IF(dis = 1
&& ISINSCOPE ( 'Table'[sub2] )
&& OR (
SUM ( 'Table'[Release] )
= CALCULATE ( SUM ( 'Table'[Release] ), ALL ( 'Table'[sub2] ) ),
SUM ( 'Table'[Release] ) = 0),TRUE())
var b =
IF(dis = 1
&& ISINSCOPE ( 'Table'[sub2] )
&& OR (
be
= CALCULATE ( be, ALL ( 'Table'[sub2] ) ),
be = 0),TRUE())
RETURN
IF (
a&&b,
BLANK(),be
)
For more details, please check the pbix as attached.
Hi @Arshadjehan ,
Please enable the option "show items with no data " for the rows in your matrix visual.
@v-frfei-msft I probably couldnt make you understand what I want!
I want to hide the sub level, if there is only one sub level, and to show as parent level only.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
96 | |
69 | |
45 | |
39 | |
30 |
User | Count |
---|---|
155 | |
96 | |
60 | |
42 | |
41 |