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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Syndicate_Admin
Administrator
Administrator

Grouping multiple rows into one

An additional query appears to me as follows, there is some way for the assignee and requester data to appear in a single row and not two as shown.

joel121960_0-1706804817453.png

2 ACCEPTED SOLUTIONS
Idrissshatila
Super User
Super User

Hello @Syndicate_Admin ,

 

yes you could merge the two columns into one, check how https://youtu.be/qG_SGa53XKA?si=z1MTLGg0cxLSFAIi

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

Anonymous
Not applicable

Hi @Syndicate_Admin ,

 

Hope all is going well.

 

According to your demand description, the same ID displays the assignee and requester data in one row. The most suitable method is pivot and unpivot. The operation steps are as follows:

 

1. This is the original data, please change it according to your actual situation.

vhuijieymsft_0-1706856030816.png

 

2. Select the ID column in Power Query, select Transform>>Unpivot Columns>>click the drop-down box and select Unpivot Other Columns.

vhuijieymsft_1-1706856039390.png

 

After the operation is completed, the page should look like the following picture:

vhuijieymsft_2-1706856047265.png

 

3. Select the Attribute column in Power Query, select Transform>>Pivot Column, and select Value for "Values Column" in the pop-up window.

vhuijieymsft_3-1706856065423.png

 

vhuijieymsft_4-1706856065425.png

 

After the operation is completed, the page should look like the following picture:

vhuijieymsft_5-1706856075740.png

 

Attached below are some official documentation links for you to learn more about Pivot and Unpivot.

Pivot columns - Power Query | Microsoft Learn

Unpivot columns - Power Query | Microsoft Learn

 

Power BI Desktop files are attached.

 

If you have any other questions, please feel free to contact me. I am very grateful for your patience and cooperation.


Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Syndicate_Admin ,

 

Hope all is going well.

 

According to your demand description, the same ID displays the assignee and requester data in one row. The most suitable method is pivot and unpivot. The operation steps are as follows:

 

1. This is the original data, please change it according to your actual situation.

vhuijieymsft_0-1706856030816.png

 

2. Select the ID column in Power Query, select Transform>>Unpivot Columns>>click the drop-down box and select Unpivot Other Columns.

vhuijieymsft_1-1706856039390.png

 

After the operation is completed, the page should look like the following picture:

vhuijieymsft_2-1706856047265.png

 

3. Select the Attribute column in Power Query, select Transform>>Pivot Column, and select Value for "Values Column" in the pop-up window.

vhuijieymsft_3-1706856065423.png

 

vhuijieymsft_4-1706856065425.png

 

After the operation is completed, the page should look like the following picture:

vhuijieymsft_5-1706856075740.png

 

Attached below are some official documentation links for you to learn more about Pivot and Unpivot.

Pivot columns - Power Query | Microsoft Learn

Unpivot columns - Power Query | Microsoft Learn

 

Power BI Desktop files are attached.

 

If you have any other questions, please feel free to contact me. I am very grateful for your patience and cooperation.


Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

Thank you helped me move forward with my project

Idrissshatila
Super User
Super User

Hello @Syndicate_Admin ,

 

yes you could merge the two columns into one, check how https://youtu.be/qG_SGa53XKA?si=z1MTLGg0cxLSFAIi

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

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

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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