Simpatie.ro - matrimoniale
Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
Nou pe simpatie:
simpacurly69 la Simpatie.ro
Femeie
24 ani
Bucuresti
cauta Barbat
35 - 70 ani
Mrrrr's Forum (VIEW ONLY)ReguliInregistrareLoginPozeNu sunteti logat. Lista Forumurilor Pe Tematici
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides /

[POWER QUERY] Convert BINARY to TABLE when importing FOLDER

Pagini: 1 Moderat de TRaP, TonyTzu
#1
TRaP
Moderator
Postari: 960
When importing a folder with excel files or csv files, if you don't want Example templates to appear in Power Query, you choose Transform Data instead of Transform & Combine.

The files appear as Binary.

To convert Binary to Table, you must add a custom column.

Add custom column, and in formula add the following formula for xls/xlsx/xlsm files:

= Excel.Workbook([Content])

Or add the following for csv files:

= Csv.Document([Content])

After, you can remove all other columns besides this custom one, and expand your tables.

This way in Power Query you will not have example queries and templates.


 
   
#2
TRaP
Moderator
Postari: 960
For PDF files in a folder:
- Add Column with formula:
= Pdf.Tables([Content])


 
   
Pagini: 1  
Mergi la