cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Nicky_12345
Regular Visitor

Grouping products by Groups and Subgroups

Hi, please assist:

 

I need to create the below table as a Power BI visual:

Nicky_12345_0-1663765808353.png

Would the best way be to create/maintain a data table with 3 columns - Product, Subgroup & Group and then create a relationship between the product field between this new table and my dataset to pull through the relative sales contribution by Group/Subgroup?

1 REPLY 1
Greg_Deckler
Super User
Super User

@Nicky_12345 Difficult to say exactly. Use a Matrix visual, put Product Category and Product columns in your rows. Put your Categories column in your columns. Some measure as Value. Without example source data almost impossible to know exactly.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.