Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
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.
Solved! Go to 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.
What if you want to group by column outside of a matrix visualization? Say, in a Table Visualization as this question is asked?
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:
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.
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.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
88 | |
86 | |
84 | |
68 | |
49 |
User | Count |
---|---|
138 | |
111 | |
104 | |
65 | |
64 |