Forum Discussion

Vytautass's avatar
Vytautass
Frequent Visitor
2 years ago
Solved

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 Report matrix:  
  • Daniel29195's avatar
    2 years ago

    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! 🤠

  • Vytautass's avatar
    Vytautass
    2 years ago

    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.