cancel
Showing results for
Search instead for
Did you mean:
Frequent Visitor

## how to hide the total in matrix for particular column row wise (in Matrix visual)

Hi Folks,

I have one matrix visual , where i have hierarchy . i dont want to show total of Assurance (2959.63), without using subtotal.

Can anyone suggest me

Regards,

Pratik.S

1 ACCEPTED SOLUTION
Community Support

Hi @UI ,

I have a test by creating a sample. I think you can try this code.

Measure =
IF(
ISINSCOPE(Employees[StaffName]),
[Employee Target],
IF(ISINSCOPE(Employees[StaffOfficeName]),
[Employee Target],
IF(ISINSCOPE(Employees[StaffUnitName]),
IF(MAX(Employees[StaffUnitName]) = "Assurance",
"",
[Employee Target]),
IF(ISINSCOPE(Employees[StaffPosition]),
[Employee Target]))))

Result is as below.

Best Regards,
Rico Zhou

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

4 REPLIES 4
Super User

@UI , You can make it blank

a measure like

if(max(Table[Value]) = "Assurance" && Not(isinscope(Table[Name])) , blank(), [Measure])

Name is is level below it, it is not in scope means it is subtotal

New Power BI Features
Datamarts: https://youtu.be/8tskWsJTEpg
Field Parameters : https://youtu.be/lqF3Wa1FllE?t=70
Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin !! Proud to be a Super User!
Want To Learn Power BI
Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
!! Subscribe to my youtube Channel !!
Frequent Visitor

@amitchandak  the measure you assign me its not working, can you provide me another solution on this..

Regards,

Pratik .S

Community Support

Hi @UI ,

I have a test by creating a sample. I think you can try this code.

Measure =
IF(
ISINSCOPE(Employees[StaffName]),
[Employee Target],
IF(ISINSCOPE(Employees[StaffOfficeName]),
[Employee Target],
IF(ISINSCOPE(Employees[StaffUnitName]),
IF(MAX(Employees[StaffUnitName]) = "Assurance",
"",
[Employee Target]),
IF(ISINSCOPE(Employees[StaffPosition]),
[Employee Target]))))

Result is as below.

Best Regards,
Rico Zhou

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

Frequent Visitor

@amitchandak this mesaure i have used, can we do any edit here, so that it will work

## Helpful resources

Announcements

#### Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

#### Check it Out!

Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!

Top Solution Authors
Top Kudoed Authors