cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
See how to use JMP Live to centralize and share reports within groups. Webinar with Q&A April 4, 2pm ET.
Choose Language Hide Translation Bar
View Original Published Thread

MFI column filename with empty lines

Elise_B
Level III

Hello,

I have a problem with Multiple File Import. I am importing a large number of .csv files using the MFI and I have activated the option to create a column with the name of the file. Subsequently I concatenate all the tables created in a large table. I automated this whole process through a script. At the end of the execution of the script I end up with lines whose File Name column is empty. This gives me a big problem because the filename lets me know which product my data corresponds to and without this filename I have test data that doesn't make sense because I can't relate it to any reference. 

Do you have any idea where this problem comes from? 

Thank you in advance for your answers.

Elise B.

This post originally written in French and has been translated for your convenience. When you reply, it will also be translated back to French .

1 ACCEPTED SOLUTION

Accepted Solutions
Craige_Hales
Super User

Re: MFI colonne nom de fichier avec des lignes vides

My next guess is

	dt_list[i] <<  Select Columns( all );
	dt_list[i] << Compress Selected Columns();

is compressing the filename column in a way that won't work with concatenate. Try leaving it out. If you need to compress columns, it will be better to wait until all the concatenations are finished. Some of the compression techniques depend on knowing all the possible values.

 

Craige

View solution in original post

4 REPLIES 4
Craige_Hales
Super User


Re: MFI colonne nom de fichier avec des lignes vides

Can you show the import script and the concatenate script?

Can you tell which files might have produced a blank file name?

Is the missing name an occasional single row, or a run of rows?

Any log messages?

 

My guess is: you are doing more than one MFI, and one of them left out the option for filename (misspelling perhaps.)

Craige
Elise_B
Level III

Re: MFI filename column with blank lines

The script is attached to this post!

I'm not sure which files might have produced an empty filename as I import a lot of files and their data is relatively similar and there is no column besides the filename that clearly allows me to identify it. I also can't tell if these lines with empty filename come from the same file or not ...

I have no message in the log, the scripts run to the end without error ...

This post originally written in French and has been translated for your convenience. When you reply, it will also be translated back to French .

Craige_Hales
Super User

Re: MFI colonne nom de fichier avec des lignes vides

My next guess is

	dt_list[i] <<  Select Columns( all );
	dt_list[i] << Compress Selected Columns();

is compressing the filename column in a way that won't work with concatenate. Try leaving it out. If you need to compress columns, it will be better to wait until all the concatenations are finished. Some of the compression techniques depend on knowing all the possible values.

 

Craige
Elise_B
Level III

Re: MFI colonne nom de fichier avec des lignes vides

Cela a fonctionné en enlevant les lignes de compression ! Merci beaucoup pour votre aide !

Elise B.