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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Hussain_R
Frequent Visitor

[Help] How to convert a list values to row values

Hello, I have a query that comes from our ERP putting out recievables report showing the bill reference, bill date, bill value and the customer name. However, the report comes out as below: Column 1 Column 2 BillF 01/01/2024 BillF HDM24001 BillF ABC Corp BillV 234.70 I want to change this structure to show this information as rows, however I'm unable to pivot, because the first 3 values in column1 isn't different, so it throws an error. This list continues to another 6200 rows where the information for each bill is presented vertically in columns and I want them in rows. Any idea how do I go about correcting the orientation?
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Hussain_R , Please paste the data in table format. Not able to understand the same

Based on what I got

Assume the current format is

Column 1 Column 2
BillF 1/1/2024
BillF HDM24001
BillF ABC Corp
BillV 234.7
... ...

 

Expected is

Bill Date Bill Reference Customer Name Bill Value
1/1/2024 HDM24001 ABC Corp 234.7
... ... ...

...

 

 

Add an index column from 0

 

Add another column, divide by 4, Group Index

= Table.AddColumn(#"Previous Step", "Group Index", each Number.IntegerDivide([Index], 4))

 

Pivot the Table with the do not Aggregate option  in Advance and try

 

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

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

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Hussain_R , Please paste the data in table format. Not able to understand the same

Based on what I got

Assume the current format is

Column 1 Column 2
BillF 1/1/2024
BillF HDM24001
BillF ABC Corp
BillV 234.7
... ...

 

Expected is

Bill Date Bill Reference Customer Name Bill Value
1/1/2024 HDM24001 ABC Corp 234.7
... ... ...

...

 

 

Add an index column from 0

 

Add another column, divide by 4, Group Index

= Table.AddColumn(#"Previous Step", "Group Index", each Number.IntegerDivide([Index], 4))

 

Pivot the Table with the do not Aggregate option  in Advance and try

 

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.