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
randyrettig
Helper I
Helper I

Column rows to headers

Hi all,

 

I'm transforming info from a .pdf, and there is a little table on the .pdf that shows up in power query like the picture attached.

 

How can I make the values in column 1 and column 3 the headers, and then the call info in columns 2 and 4 show in the appropriate rows below?

 

randyrettig_0-1706814941284.png

 

Thanks!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @randyrettig ,

Based on your question, here are my answers.

I think you can Transpose the table.

vyilongmsft_0-1706850582186.png

Then click on the Use First Row as Headers.

vyilongmsft_1-1706850700084.png

Use Text Filters and enter the codes.

= Table.SelectRows(#"Changed Type1", each Value.Is(Value.FromText([Total Calls]), Int32.Type))

vyilongmsft_2-1706850736782.png

Then you will see what you want.

vyilongmsft_3-1706850914882.png

 

 

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

How to Get Your Question Answered Quickly 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @randyrettig ,

Based on your question, here are my answers.

I think you can Transpose the table.

vyilongmsft_0-1706850582186.png

Then click on the Use First Row as Headers.

vyilongmsft_1-1706850700084.png

Use Text Filters and enter the codes.

= Table.SelectRows(#"Changed Type1", each Value.Is(Value.FromText([Total Calls]), Int32.Type))

vyilongmsft_2-1706850736782.png

Then you will see what you want.

vyilongmsft_3-1706850914882.png

 

 

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

How to Get Your Question Answered Quickly 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Greg_Deckler
Community Champion
Community Champion

@randyrettig Perhaps try importing Column1 and Column2 as one query and Column3 and Column4 as another. Append the queries and perform a Transpose.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

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.