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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
mzeppieri
Regular Visitor

Table Visualization - Group By Field?

My goal is to create a Table Visualization with a Group By structure, similar to how you can create a "Group By" in a SharePoint list.

 

Let's say I have a table of data as follow:

 

Make | Model | Color

Honda | Pilot | White

BMW | X5 | Black

Jeep | Cherokee | White

Toyota | Highlander | White

Volvo | XC90 | Black

 

The Make and Model columns are unique values, but the Color column is only White or Black. I want the table to appear as follows:

 

Black

BMW | X5

Volvo | XC90

 

White

Honda | Pilot

Jeep | Cherokee

Toyota | Highlander

 

I can't seem to find a solution that does this.

 

 

 

1 ACCEPTED SOLUTION

Try turning off "Stepped Layout" under "Row Headers" in your Matrix Visualization settings. Gets you pretty close to what you are looking for I think.

 

 

 

image.png

View solution in original post

5 REPLIES 5
erik_tarnvik
Solution Specialist
Solution Specialist

Use the matrix visual and drop Color, Make and Model into the row bucket. Expand the visualization using the buttons in the top left of the visual. You will get this:

image.png

If you really want the "Toyota | Highlander" rather than the per row format you would need to create a calculated column in your data table that combines Make and Model.

I suspected you could only create the view I need with a calculated field. I played with the Matrix view prior to posting my question, and ended up with the cascading rows as you demonstrated.

 

Right now I have two seperate tables creating the view I want, and I just have them sitting next to each other. Was hoping to join them as one continuous table, but for what I need, I may just have to keep them as seperate visualizations.

Try turning off "Stepped Layout" under "Row Headers" in your Matrix Visualization settings. Gets you pretty close to what you are looking for I think.

 

 

 

image.png

pxg08680
Resolver III
Resolver III

@mzeppieri

Out of my understanding you need black and white colors to be sorted.

 

Just drop the color column into a slicer and remaining two columns into a table. Select a value in the slicer then it will give you the res make and model.

 

 

The slicer option unfortunately will not work for me because I want to see all the tabulated data at once. Right now, I have two adjacent tables filtered to create the view I need, but I was hoping to create one table.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.