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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Grouping values and toggling visibility of details

Hi community

 

I've the following challenge. I've a table which looks like this:

CustomerProduct#Products#Shop visits#Internet visitsShop salesInternet sales
122298300200

 

In my report I need a matrix which looks like this

   #Visits  Sales  
CustomerProduct#ProductsTotal#Shop visits#Internet visitsTotalShop salesInternet sales
122100298500300200

 

I know it's easy to get the 2 total columns but what I need is: I'd like to toggle the visibility of the details like I can do it on row groups. I've tried it with out of the box grouping but teh result wasn't very satisfying.

 

Can you help me?

 

Thanks

1 ACCEPTED SOLUTION
v-lionel-msft
Community Support
Community Support

Hi @Anonymous ,

 

Maybe you can do like this.

v-lionel-msft_0-1596767777492.png

 

Best regards,
Lionel Chen

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

8 REPLIES 8
Anonymous
Not applicable

Hello

I've created a hierarchy which I named "Column Group" (contains "Visits" and "Sales") and "Columns" (contains "Shop visits", "Internet visist", "Shop sales" and "internet sales"). If you put this hierarchy into columns of the matrix and you choose drilling columns you can switch show only the groups or groups and details. Unfortunatly it's not possible to have a + symbol like in a row hierarchy.

Hope that helps.

v-lionel-msft
Community Support
Community Support

Hi @Anonymous ,

 

Maybe you can do like this.

v-lionel-msft_0-1596767777492.png

 

Best regards,
Lionel Chen

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

Anonymous
Not applicable

Hi Lionel

 

Thanks, it works.

 

Best 

Rainer

Anonymous
Not applicable

Hi Lionel Chen

 

Thanks for your message. Do you mean a measure group? I've tried this but I didn't managed to toggle the visibilty of the detail of this group. Did you?

 

Best

Rainer

Hi @Anonymous ,

 

This is similar to the date hierarchy.

You can manually drag and drop the fields in the ‘Field’ pane on the right.

 

--Hold down the left mouse button and manually drag the field.

v-lionel-msft_0-1597139078402.png

 

Best regards,
Lionel Chen

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

 

 

amitchandak
Super User
Super User

@Anonymous , You have to do some column grouping for that.

column header grouping
https://www.daxpatterns.com/dynamic-segmentation/
https://community.powerbi.com/t5/Desktop/Matrix-Display-Values-above-Columns/td-p/256905
https://community.powerbi.com/t5/Desktop/grouping-measure-results/td-p/456795

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here
Anonymous
Not applicable

Hello Amit Chandak, 

 

Thanks again for your answer. I solved it in an other way but your answer is very helpfull for me for a task I got yesterday.

 

Best regards

Rainer

Anonymous
Not applicable

Hi Amit

 

Thanks for the message. I will try it and give you a feedback.

 

Best 

Rainer

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.