Power query truncates column header text when unpivoting

Trang Le 0 Reputation points

Hello, when I unpivot my columns, the header text is truncated/cut off at the end. My header are long text from survey questions which I want to keep the entirety for. Are there are way to prevent this truncation? Or if not then is there an easy way to remove the last few words from each column header before I pivot?

A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,098 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Emily Hua-MSFT 27,321 Reputation points

    Hi @Trang Le

    I suggest you post a new thread on following forum check whether there is any workaround.


    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.

    Besides, based on my tests, there is character limitation for column header in Power Query. As following image shown, if the character length is 263, then there will be a prompt when I create a query, that the header will be truncated.


    If the character length of the header is less than 255, the header will not be truncated when unpivoting data.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments