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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Vytautass
Frequent Visitor

How to hide/remove string column in matrix totals

Hello,
Can't find a solution to hide one column in totals. How to remove only "Task No" column from matrix totals ?
Data

Vytautass_0-1706621968350.png


Report matrix:

Vytautass_1-1706622009199.png

 

2 ACCEPTED SOLUTIONS
Daniel29195
Super User
Super User

@Vytautass 

 

you can use isinscope function .

 

isinscope function lets you control your calculation at each level

 

this is the structure of the measure : 

mesaure =

switch(

true() ,

isinscope( level_3) || inscope(level2) ||  isinscope(level1) ,  [calculation] ,

blank() 

)

 

 

 

 

 

 

If my answer helped sort things out for you, i would appreciate a thumbs up 👍 and mark it as the solution !
It makes a difference and might help someone else too. Thanks for spreading the good vibes! 🤠

View solution in original post

Hi, @Daniel29195 
Thanks for fast replay. I have found this solution with INSCOPE() just used IF() .... and it works fine. I  new to pbi and just can't get use to that every simple things has to done with workaround.

Vytautass_0-1706678043300.png

 

View solution in original post

2 REPLIES 2
Daniel29195
Super User
Super User

@Vytautass 

 

you can use isinscope function .

 

isinscope function lets you control your calculation at each level

 

this is the structure of the measure : 

mesaure =

switch(

true() ,

isinscope( level_3) || inscope(level2) ||  isinscope(level1) ,  [calculation] ,

blank() 

)

 

 

 

 

 

 

If my answer helped sort things out for you, i would appreciate a thumbs up 👍 and mark it as the solution !
It makes a difference and might help someone else too. Thanks for spreading the good vibes! 🤠

Hi, @Daniel29195 
Thanks for fast replay. I have found this solution with INSCOPE() just used IF() .... and it works fine. I  new to pbi and just can't get use to that every simple things has to done with workaround.

Vytautass_0-1706678043300.png

 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.