In the preview dialog box, you have several options: In the Import Data dialog box, locate and double-click the text file that you want to import, and click Import. On the Data tab, in the Get & Transform Data group, click From Text/CSV. You can import data from a text file into an existing worksheet. Import a text file by connecting to it (Power Query)