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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors