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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Power query - Convert rows into columns based on condition

Hi all,

I have the following scenario:

If the col. B has more than 1 value I need to split them in different columns. For example, below I need to have another col C to place the second value.

 

GuinabaPBI_0-1679524060248.png

 

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

Share data in a format the can be pasted in an MS Excel file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
amitchandak
Super User
Super User

@Anonymous , First Create sun Category index/Rank and then pivot

 

Power BI and Power Query- Sub Category Rank and Index: https://youtu.be/tMBviW4-s4A

 

Learn Power BI: Power Query Table.Pivot: https://youtu.be/e5WtMuiUzk8

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.