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

Don'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.

Reply
Anonymous
Not applicable

Power BI- hide parent total on a Matrix visual drill down

Hi Team, I am building a simple Matrix Visual with drill down feature showing Manager wise employee's contribution % for each month. At employee level the measures are shown appropriately but it also shows the total contribution for each manager (before drill-down) which should not appear as it's misleading data.

 

Request your suggestions on how to hide the manager level summary.

 

pkns_0-1707262354445.png

pkns_1-1707262368581.png

 

12 REPLIES 12
Anonymous
Not applicable

yeah., the values appear correct when expanded, but when you collapse (meaning rollup to higher levels) it should show blank instead of sum up individual totals (as it's % contribution). Hope you get my requirement . 

You need to be more precise in your rules when stuff should show and when not. I am sure that ISINSCOPE can be used to implement that, but I am not following your requirement just yet.

Anonymous
Not applicable

No. After you drill down to lower level , by default it doesn't display the rolled up values at manger/ leader level. But the issue is at summary level. please refer the below screenshot. 

 

Ex: At M2 level - the % Contribution is  shown as 160%  for Jan which is incorrect (two employees under M2 contributed 80% each). 

pkns_1-1707425220847.png

 

Like this?

 

lbendlin_0-1707427339677.png

 

v-weiyan1-msft
Community Support
Community Support

Hi @Anonymous ,

 

You can consider the method mentioned by @lbendlin .
You can also consider the following method to solve the problem.

Based on your description,
I created some data:

vweiyan1msft_0-1707275635206.png

The fields in the matrix are as follows.

vweiyan1msft_1-1707275652643.png

Select the visualization object and set Row subtotals to OFF in the Visualization panel. Result is as below.

vweiyan1msft_2-1707275677951.png

Please correct me if I misunderstood your needs.

 

Best Regards,
Yulia Yan

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

Anonymous
Not applicable

Hi, Thanks for your reply. This approach works only when you do not add any fields to columns. In my case needs to show allocation acorss months. 

lbendlin
Super User
Super User

use HASONEVALUE and/or ISINSCOPE  to figure out which level is shown to the user, and in your measure return BLANK() as needed.

Anonymous
Not applicable

Hi @ibendlin, Thanks for the info. I haven't used these functions earlier. I have given a quick try but doesn't work. Given below is the DAX measure code. Can you please correct this. 

 

Allocation_range =
VAR _mnthRange =
    GENERATESERIES (
        'Measure_TimeSeries'[_start_dt_3month],
        'Measure_TimeSeries'[_end_month]
    )
VAR _alloctn =
    IF (
        HASONEVALUE ( employee[reportingLeads] ),
        DIVIDE (
            CALCULATE (
                SUM ( allocation_expanded[Allocation] ),
                            TREATAS (
                    VALUES ( allocation_expanded[employee_ID] ),
                    Employee[Employee_ID]
                ),
                TREATAS (
                    VALUES ( allocation_expanded[Project_ID] ),
                    Project_expanded[projectId]
                ),
                KEEPFILTERS ( TREATAS ( _mnthRange, 'Date'[Date] ) )
            ),
            CALCULATE ( COUNT ( 'Date'[Date] ) )
        ),
        BLANK ()
    )
RETURN
    _alloctn

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information or anything not related to the issue or question.

If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Anonymous
Not applicable

 

Senior LeaderManagerEmployee NameMonthcontribution %
SL1M1E1Jan-2475
SL1M1E1Feb-2475
SL1M1E1Mar-2475
SL1M1E1Apr-2475
SL1M1E1May-2475
SL1M21E1Jan-2475
SL1M21E1Feb-2475
SL1M21E1Mar-2475
SL1M21E1Apr-2475
SL1M21E1May-2475
SL2M2E2Jan-2480
SL2M2E2Feb-2490
SL2M2E2Mar-2490
SL2M2E2Apr-2490
SL2M2E2May-2490
SL2M2E3Jan-2480
SL2M2E3Feb-2490
SL2M2E3Mar-2490
SL2M2E3Apr-2490
SL2M2E3May-2490
Anonymous
Not applicable

Hello, Please find the sample data in the above thread. Also attaching the screenshots for your reference. I want to hide % contribution rolled up at manager/Senior leader level.

 

pkns_1-1707415771810.png

 

Like this ?

 

lbendlin_0-1707423554717.png

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.