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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Frequent Visitor

Need help with grouping !!!

Hello all. I am trying to do a "Group By"  like I do in Cognos or Excel. I see in Power BI there is an option to create a new "Group" but that is not working the way I need it to. When I look at the create new Group option in Power BI, it is wanting me to select all members of the group. We have over a 100 unique groups at my company which have multiple "Clients" for each group. I am attaching a screenshot of an excel file out-put which I am trying to replicate.


Long story short, I created a list style report in Power BI and I need the ouput to show each "Group Name" grouped by their associated "Client Names" within their group.


If you take a look at the below screenshot, it shows the report in excel, showing a "Group Name" of "United Health (20111) and next to that group, its associated "Client Names" of: "Pathology Associates" & Radiologists of US" for example. This is easily done in Cognos or Excel. I am really hoping there is a way to do this in Power BI!. Some one please help!


Screenshot for Forums.jpg


Thank you




Do you have the GroupName field in your original table? If you have such a field, you can create a Matrix visual following the guide in  this article:

However, if you don't have the GroupName field, you can create the field using DAX. 

If you can't get expected result in Power BI, please share sample data of your table here as described in this post:


Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors