cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
Microsoft

@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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors