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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
LucasAC
Frequent Visitor

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: 

LucasAC_0-1658873656013.png

Any suggestion is very welcome.

Thanks in advance.

1 ACCEPTED SOLUTION
v-yalanwu-msft
Community Support
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.

vyalanwumsft_0-1659062289258.png

The final show:

vyalanwumsft_1-1659062300553.png

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

vyalanwumsft_6-1659062545241.png

 

vyalanwumsft_4-1659062517139.png

vyalanwumsft_5-1659062530656.png

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.

View solution in original post

4 REPLIES 4
v-yalanwu-msft
Community Support
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.

vyalanwumsft_0-1659062289258.png

The final show:

vyalanwumsft_1-1659062300553.png

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

vyalanwumsft_6-1659062545241.png

 

vyalanwumsft_4-1659062517139.png

vyalanwumsft_5-1659062530656.png

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.

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.

LucasAC_0-1659470846765.png

 

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.

 

danextian
Super User
Super User

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. 

danextian_0-1658885518251.png

 










Did I answer your question? Mark my post as a solution!


Proud to be a Super User!









"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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