Forum Discussion

CraigBlackman's avatar
CraigBlackman
Helper III
11 years ago

How do I format my SQL data so its displayed in multiple lines

I have a field that contains text and i am using a SQl query to pull this data into Power BI.

 

This field is acutally several lines of text but its being displayed as one single line. So the question is how do i formt this field so it display the dext into several line?

 

Thanks Craig

3 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    CraigBlackman

    Can you show an example? Are you saying your sql script pulls the information correctly but Power BI is grouping it up somehow, or do you need assistance parsing out a field?

  • andre's avatar
    andre
    Memorable Member

    there is no way to change this behavior right now, hopefully a more robust support for the end of line characters will come soon.

    • CraigBlackman's avatar
      CraigBlackman
      Helper III

      I thought this would be the case as when formatting it excel powerview took a fair amount of working around it. So this is what it should look like.

       

      Capture.PNG

       

      And this is what i am getting in BI.

       

      "Font & Thread Colour Selection: Font & Thread Colour Selection PLEASE SELECT YOUR FONT: Arial (Colour: ) PLEASE SELECT YOUR THREAD COLOUR: Pink (Colour: ) Robe Embroidery Selection Front (WAF): No Personalisation On The Front"