Skip to main content

POWER BI / TEXT CSV

Prepare a UTF-8 CSV with the right delimiter for Power BI

Power BI's Text/CSV connector asks you to choose a file origin and delimiter. Confirm those settings against the bytes in your export, then create a separate UTF-8 file for the query.

Published:

Updated:

Related tool: Convert encoding & format

Match Power BI's File origin and delimiter to the source

When Power BI puts every value in one column or shows garbled text, the file origin or delimiter is usually wrong. Check the actual source encoding and separator instead of repeatedly changing the query preview.

  • A comma file is opened as one column because the source uses semicolons or tabs
  • Japanese or accented values are damaged after the Text/CSV step
  • Quoted commas or line breaks create unexpected rows

Separate a format problem from a Power Query problem

Use the Text/CSV connector documentation as the destination contract. LocaCSV can make the bytes and structure explicit; Power Query still controls types, transformations, and refresh behavior.

  • Record the input encoding, BOM state, and delimiter
  • Treat commas and newlines inside quotes as one field
  • Keep an untouched export so a refresh can be reproduced

Convert the file in LocaCSV

LocaCSV does not infer Power Query data types or silently repair malformed quotes. It creates a traceable file with the format you selected.

  1. Open a copy of the export and run the CSV diagnostic
  2. Choose the input encoding and delimiter that produce the expected columns
  3. Convert to UTF-8 and select the BOM option required by your Power BI environment
  4. Load a small output first and inspect the Power Query preview

Verify the file before refreshing the model

  • The column count and header names match the query step
  • UTF-8 text, quoted commas, and embedded line breaks remain intact
  • Input and output row counts reconcile, including any excluded rows
  • The Power Query preview assigns the intended columns before type conversion

If Power BI still reports a refresh error

A structurally valid CSV can still fail because a query step expects a renamed column, a date format, or a numeric value. Check the failing step before changing the file again.

Prepare the Power BI CSV

Official documentation

Limits and import formats can change. Use the official documentation below as the final check for your account and plan.