Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
elenavierina
Regular Visitor

Exportar tabla

Hola buenas tardes,

tengo una tabla creada la cual quiero exportar la información que contiene. Dicha tabla contiene varios campos y uno de ellos es un  campo que es una descripción (texto largo en el cual hay signos de puntución: puntos, comas, puntos y comas...). 

Cuando la exporto a un csv, a la hora de poner la información en texto en columnas, se descolocan los campos puestos que llevan los signos de puntuación.

¿hay alguna otra forma de poder realizar esa exportación sin que sufra cambios? 

Gracias

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @elenavierina ,

To resolve this issue, I recommend following these steps:

1. Use alternative delimiters: When exporting a table to CSV, select delimiters that are not used in the data, such as pipe characters (|) or tabs. This will prevent fields from scrolling due to punctuation.

 

2. Delimit text with inverted commas: Ensure that all text fields are delimited with a double inverted comma ("). This means that everything within an inverted comma should be treated as one field, even if it contains a comma. Most export tools have an option to activate this feature.

 

3. Clean up data before exporting: If possible, consider removing or replacing problematic punctuation in the data before exporting. This can be done either manually or, if extracting data from a database, through a SQL query.

 

4. Use specialized tools: Consider using specialized tools or scripts that can better handle complex data during the export process. tools such as Power BI Report Builder allow more flexibility in exporting data, including setting delimiters and text qualifiers. For more information on how to export reports to CSV using Power BI Report Builder, visit this link.

 

Best regards,
Community Support Team_Binbin Yu
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

1 REPLY 1
Anonymous
Not applicable

Hi @elenavierina ,

To resolve this issue, I recommend following these steps:

1. Use alternative delimiters: When exporting a table to CSV, select delimiters that are not used in the data, such as pipe characters (|) or tabs. This will prevent fields from scrolling due to punctuation.

 

2. Delimit text with inverted commas: Ensure that all text fields are delimited with a double inverted comma ("). This means that everything within an inverted comma should be treated as one field, even if it contains a comma. Most export tools have an option to activate this feature.

 

3. Clean up data before exporting: If possible, consider removing or replacing problematic punctuation in the data before exporting. This can be done either manually or, if extracting data from a database, through a SQL query.

 

4. Use specialized tools: Consider using specialized tools or scripts that can better handle complex data during the export process. tools such as Power BI Report Builder allow more flexibility in exporting data, including setting delimiters and text qualifiers. For more information on how to export reports to CSV using Power BI Report Builder, visit this link.

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.