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
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
Employee
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
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.