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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Dirk_Kuypers
Frequent Visitor

groups

Hello,

 

I want to create groups from following tabel. I need from column "Eqp.1(6)" the group name and then every number from "Eqp. 2.1" , "Eqp.2.2",... should be in this group.

Is there a simple way to do this?

Dirk_Kuypers_0-1776322005724.png

 

1 ACCEPTED SOLUTION
grazitti_sapna
Super User
Super User

Hi @Dirk_Kuypers,

 

You can achieve it in Power Query by unpivoting the columns then you can use them as groups.

 

this is your table.

| Eqp.1(6) | Eqp.2.1 | Eqp.2.2 | Eqp.2.3 |
| -------- | ------- | ------- | ------- |
| Group A  | 101     | 102     | 103     |
| Group B  | 201     | 202     | null    |

 

after unpivoting you'll have something like this 

 

| Group Name | Equipment |
| ---------- | --------- |
| Group A    | 101       |
| Group A    | 102       |
| Group A    | 103       |
| Group B    | 201       |
| Group B    | 202       |

 

And now you can use them as groups in matrix view

 

🌟 I hope this solution helps you unlock your Power BI potential! If you found it helpful, click 'Mark as Solution' to guide others toward the answers they need.
💡 Love the effort? Drop the kudos! Your appreciation fuels community spirit and innovation.
🎖 As a proud SuperUser and Microsoft Partner, we’re here to empower your data journey and the Power BI Community at large.
🔗 Curious to explore more? [Discover here].
Let’s keep building smarter solutions together!

View solution in original post

3 REPLIES 3
v-tejrama
Community Support
Community Support

Hi @Dirk_Kuypers ,

 

Thank you @grazitti_sapna for the response provided!

Has your issue been resolved? If the response provided by the community member addressed your query, could you please confirm? It helps us ensure that the solutions provided are effective and beneficial for everyone.

Thank you

Hi @Dirk_Kuypers ,


I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.

Thank you.

grazitti_sapna
Super User
Super User

Hi @Dirk_Kuypers,

 

You can achieve it in Power Query by unpivoting the columns then you can use them as groups.

 

this is your table.

| Eqp.1(6) | Eqp.2.1 | Eqp.2.2 | Eqp.2.3 |
| -------- | ------- | ------- | ------- |
| Group A  | 101     | 102     | 103     |
| Group B  | 201     | 202     | null    |

 

after unpivoting you'll have something like this 

 

| Group Name | Equipment |
| ---------- | --------- |
| Group A    | 101       |
| Group A    | 102       |
| Group A    | 103       |
| Group B    | 201       |
| Group B    | 202       |

 

And now you can use them as groups in matrix view

 

🌟 I hope this solution helps you unlock your Power BI potential! If you found it helpful, click 'Mark as Solution' to guide others toward the answers they need.
💡 Love the effort? Drop the kudos! Your appreciation fuels community spirit and innovation.
🎖 As a proud SuperUser and Microsoft Partner, we’re here to empower your data journey and the Power BI Community at large.
🔗 Curious to explore more? [Discover here].
Let’s keep building smarter solutions together!

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.