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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
TTydeman
New Member

Grouping Data in a Table

I'm one of the last Crystal Reports dinosaurs from the 1990s still roaming the earth. I thought I would try PowerBI to create a simple report from an Excel worksheet in which each of the 5 fields below is a separate column:

TTydeman_0-1738078613225.png


I'm not getting what I need through a Table or Matrix visual. Do I need to go into Power Query and do the GroupBy stuff, or am I overlooking something obvious?

Thank you,

Thom T.






 

1 ACCEPTED SOLUTION
rajendraongole1
Super User
Super User

Hi @TTydeman  - The layout you're looking for suggests a hierarchical grouping of State → County → Company → City → # Employees. In Power BI, this is best achieved using a Matrix Visual rather than a Table.

 

you can use Matrix Visual instead of a Table Visual.

In Rows: Add State, then County, then Company, then City (in this order).
Values: Add # Employees (ensure it's set to "Sum" or "Count" depending on your data).

Click the drill-down buttons (next to the Matrix visual) to allow hierarchical navigation.
You can also enable the "Stepped Layout" in the Matrix visual's settings to mimic a Crystal Reports-style grouping.

rajendraongole1_0-1738081415222.png

 





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

Proud to be a Super User!





View solution in original post

2 REPLIES 2
rajendraongole1
Super User
Super User

Hi @TTydeman  - The layout you're looking for suggests a hierarchical grouping of State → County → Company → City → # Employees. In Power BI, this is best achieved using a Matrix Visual rather than a Table.

 

you can use Matrix Visual instead of a Table Visual.

In Rows: Add State, then County, then Company, then City (in this order).
Values: Add # Employees (ensure it's set to "Sum" or "Count" depending on your data).

Click the drill-down buttons (next to the Matrix visual) to allow hierarchical navigation.
You can also enable the "Stepped Layout" in the Matrix visual's settings to mimic a Crystal Reports-style grouping.

rajendraongole1_0-1738081415222.png

 





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

Proud to be a Super User!





Thank you - that worked! 

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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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