web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : CTYYaTAHNwleUhDfauNQiG
Power Apps - Microsoft Dataverse
Unanswered

New lines are removed during Dataflow import

Like (1) ShareShare
ReportReport
Posted on 20 Jul 2021 14:11:31 by 24

Greetings Experts

 

I am trying to import some data using Dataflow of Dataverse and I found the New lines (CR+LF or LF) are removed during import.

Tested with target columns as Multiline Text or Text Area, and imported from Excel, CSV and Sharepoint online lists, with the same results across all input types.

Also, tested with both CR/LF and LF as line terminator so no luck.

Will be great if someone whom succeeded to do such import will share their findings.

 

Best regards

 

  • NerdyRedGlasses Profile Picture
    on 05 Jul 2024 at 13:38:33
    Re: New lines are removed during Dataflow import

    <br> gets me closer. Unfortunately I'm trying populate a word template and this seem to get stripped as well in import.

    I'm surprised this issue has existed this long. It seems so essential.

  • KevinFox Profile Picture
    2 on 04 Jul 2024 at 09:04:41
    Re: New lines are removed during Dataflow import

    Hi, the below custom column worked for me.

     

    Text.Replace([Notes], "#(lf)", "<br>")
  • wikap.dk Profile Picture
    11 on 27 Jun 2024 at 16:08:25
    Re: New lines are removed during Dataflow import

    Same problem here - I wish Microsoft could fix this feature of the super nice Dataflows 🙏

     

    (I experimented with making the field business recommended and setting it as RTF text field; but no differences - still same problem that LF / CRLF gets truncated out.

  • Yahya Manasrah Profile Picture
    513 on 21 Apr 2024 at 09:49:03
    Re: New lines are removed during Dataflow import

    here is the content i referred to

    I tried everything, concluded this is the best, especially if you are coming from excel, you need to "trust that your data is not lost - and btw, once you make the import, you can copy both old and new data in a separate excel to verify columns such as if ColumnA in excel equals to ColumnA in Dataverse, then, ok, otherwise, error)

     

    1. Create your Dataverse table, add an autonumber column to the table so you can see rows in order assending..

    2. Create another dummy column to delete later but will use temporarily

    3. Set the "only" Required column, which is Name, to Optional

    4. Create a View to look like the Excel Sheet you have, just add the 2 more columns Autonumber and Dummy

    5. Create your own model-driven app for that Table

    6. From within the Model Driven in run mode, Click export to Excel, then Open in Excel online. You will see a blank Excel Sheet as no data there yet

    7. Fill in the Dummy Column with anything, just drag to create more rows as much as you have in your Excel

    8. Hit Save, wait until the Dataverse creates your rows - you can track this after you hit the Save.

    9. Now your rows as created, just be curious to check their autonumber - you will see - or must see - they are sorted ascendingly as intended

    10. Click export to Excel, then Open in Excel online again, you will see your Dataverse as blank Excel sheet. Confidently copy from your old excel and paste into the Dataverse Excel.

    10. Notes:

    A. Your Old Excel must be formatted properly for such Date need to be m/d/yy for instance - make small tests before you go ahead with the complete data 

    B. The above covers a single Excel sheet migration. if you intend to create a relational database - which is intended i guess, then create your 2 dataverse tables, import your data as shown, then in the child table, create a TEXT column to show the NAME of the parent table RAW, then create a view with both parent NAME (which comes form parent table) and the TEXT parent raw name, then from inside the excel online, copy the test PARENT name to the actual parent NAME, give it sometime until done, magic! 

     

  • albatros Profile Picture
    10 on 12 Mar 2024 at 15:01:03
    Re: New lines are removed during Dataflow import

    and what will that accomplish? will the line breaks import successfully if the column is set to Optional ?

    The subject of your link has nothing to do with OP's issue.

  • Yahya Manasrah Profile Picture
    513 on 06 Sep 2022 at 06:19:31
    Re: New lines are removed during Dataflow import

    Temporarily Set the Required fields in Dataverse table to optional. Better if you read my answer in here

     

    Help setting up data model to migrate complicated ... - Power Platform Community (microsoft.com) 

  • KoJaPD Profile Picture
    595 on 05 Sep 2022 at 13:41:21
    Re: New lines are removed during Dataflow import

    please check the limitations (with a possible workaround) on Field mapping considerations for standard dataflows - Power Query | Microsoft Docs

  • stuartbell Profile Picture
    2 on 21 Mar 2022 at 16:10:07
    Re: New lines are removed during Dataflow import

    We're experiencing the same issue. We need to use power query dataflows though so classic import doesn't work for us. The newlines are present in the power query preview steps during dataflow editing, but get removed when the flow writes to a table field of type multiline text

  • voinea Profile Picture
    24 on 06 Sep 2021 at 11:53:06
    Re: New lines are removed during Dataflow import

    I circumvent the issue by using the classic import under Dynamic 365.

  • Community Power Platform Member Profile Picture
    on 31 Aug 2021 at 10:12:42
    Re: New lines are removed during Dataflow import

    Hi,

     

    I am experiencing the same issue, did you figure something out?

     

    After import when newlines are gone. When I add a newline from a model driven app by pushing enter in a multiline text control then saving and then query the record from the webAPI, the string now has a "\n" added like it was supposed to be originally from the import. So it's clear that some magic happens during import.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Featured topics

Loading complete