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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Audi_B
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

 

1 REPLY 1
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@Audi_B,

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: https://docs.microsoft.com/en-us/power-bi/visuals/desktop-matrix-visual.

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: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490.

Regards,
Lydia

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

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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