Forum Discussion

LucasAC's avatar
LucasAC
Frequent Visitor
4 years ago
Solved

Hide column values but keep drilldown

Hi folks., I need your help.

 

I have to create a matrix table, let's say category in rows and teams in columns, so it shows daily sales. Then I have to show a last column , could be a separeted table, with  mtd sales open by category, something like this: 

Any suggestion is very welcome.

Thanks in advance.

  • Hi, LucasAC ;

    If i understand right, you could create a measure, 

     

    Values = IF(HASONEVALUE(Data[Teams]),SUM([Value]),[Mtd2022])

     

    then change the total's name.

    The final show:

    and if you want hide column ,you could close the text wrap. then move it,

     

    If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

    How to upload PBI in Community


    Best Regards,
    Community Support Team _ Yalan Wu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

4 Replies

  • Hi LucasAC ,

     

    What you are trying to achieve is not natively supported by PBI Desktop (this can be easily done though with Report Builder which is another  tool). But with some advanced skills, DAX is flexible enough to allow for a workaround.

     

    You may use the same concept in this sample PBIX. https://drive.google.com/file/d/1oUR5D1YftbCs8gDLDnxYq_QjYJmKhqhM/view?usp=sharing

    As shown on the screenshot below, a  "Total" row which is not in the original table has been added. This can be replaced with and renamed to something else like MTD, etc. 

     

  • LucasAC's avatar
    LucasAC
    Frequent Visitor

    Hey danextian! , thanks a lot for your replay!! I'm migrating a Tableau dashboard to PBI.

    let me ask you one more question, is there any way to hide the labeled column with category values? that way I could make the row match.

    Thanks in advance.

     

  • v-yalanwu-msft's avatar
    v-yalanwu-msft
    Community Support

    Hi, LucasAC ;

    If i understand right, you could create a measure, 

     

    Values = IF(HASONEVALUE(Data[Teams]),SUM([Value]),[Mtd2022])

     

    then change the total's name.

    The final show:

    and if you want hide column ,you could close the text wrap. then move it,

     

    If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

    How to upload PBI in Community


    Best Regards,
    Community Support Team _ Yalan Wu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

    • LucasAC's avatar
      LucasAC
      Frequent Visitor

      Thanks @v-yalanwu-mfs, the wrap option allowed me to hide the labeled column, that way I can have 2 different tables, first one a daily based and the other one with a mtd agregation.

      Thanks a lot for you help.