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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon & SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.