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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Help with Data transformation

I have exported data from. csv files to Power BI. One of the columns contains text values ( product description) and is getting dispersed across other columns. It looks the same in excel as well. Is there anyway I can transform or shape it, so that the product description fits in one single column? In this example the first column contains product description while the second column contains time. Further, I have also noticed that Power BI shows that the data type of opt is text when it should be date time. This is probably due to the dispersion of text. I'm confused about how to proceed further and put the product description in a single column. Please kindly help. Thank you! 

Example :

Column names -  Product Description       opt

Row Values  -       Motor                 Single22:11

                             Gear                           Box

4 REPLIES 4
PhilipTreacy
Super User
Super User

Hi @Anonymous 

 

Could you please upload one of your files to OneDrive, Google Drive or Dropbox then provide a link to it.  I don't knwo if the data you provided above is accurately formatted.  As I have to copy and paste it into a text file, there's a risk the formatting is lost.

 

As it is, that file is not a CSV.  CSV stands for comma separated variable and the columns in that file are not comma separated.  They may be trying to use tab separated columns but when I try to import it, it's messed up, because there are tabs between  text in fields (like the description) as well as between columns.  Power Query is splitting  it up where it sees a tab.

 

So, if that is an accurate copy of one of your files, the process by which the are exported and created is not really working.  The export of the data needs to be changed so you get files you can work with, preferably proper CSV files.

 

Regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


v-angzheng-msft
Community Support
Community Support

Hi, @Anonymous 

 

Use the navigator to correctly import the data of your CSV file. If it still cannot be imported correctly, then you need to modify the data of your CSV file.

vangzhengmsft_0-1637290936294.png

 

refer:

Connect to CSV files in Power BI Desktop

Import CSV file to Power BI

 

Best Regards,
Community Support Team _ Zeon Zheng


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

PhilipTreacy
Super User
Super User

Hi @Anonymous 

 

If your source data is getting split across columns incorrectly then there's either something wrong with the format of the source CSV, or the import of the dfata is incorrect, or both.

 

Can you please share a sample CSV file?

 

Regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Anonymous
Not applicable

Thanks for your prompt reply. Here is sample data that represents how the data is stored. Please kindly let me know how I could rectify this issue with the csv file. Thank you ! 

ProductDescriptionOnHoldCodeOpTime$PlannedOpQtyWorkshopScheduleLockedPriorityCompleteProjectCodeDateCompletedStatusCodeEarliestStartDateResourceCodeProductGroupDateRequiredQuantityInStock      
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------      
MT MOTOR PLATES ASSEMBLY (RH)00:00:0040GLNo0NoAMNULL5NULLSUB NDT 00:00.03     
PL WING 00:00:0044GLNo0No NULL7NULLSUB NDT 00:00.00       
CH ASSEMBLY + CP56456500:00:003SMNo0No NULL7NULLSUB NDT 00:00.00       
BU - Concession 3000012013 & 500001644800:00:0050GLNo0No NULL7NULLSUB NDT 00:00.032       
MM Housing00:00:008GLNo0No NULL7NULLSUB PLT 00:00.0174       
CNG LINK RIGID SAU 00:00:0030GLNo0No NULL7NULLSUB NDT 00:00.06     
PIN CLEVIS LINKAGE 00:00:002SMNo0No NULL7NULLSUB HT 00:00.00     

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.