Original Message:
Sent: Dec 03, 2019 09:57 AM
From: Nicolas TREILLON
Subject: Import fichier TXT depuis web / Sharepoint
C'est bizarre, sur mon poste j'ai bien importé les données depuis le sharepoint avec les bonnes colonnes.
Je te ferai une capture vidéo ce soir que je mettrai en partagge sur un hébergement ;)
------------------------------
Nicolas
Original Message:
Sent: Dec 03, 2019 08:40 AM
From: Kevin TOMAS
Subject: Import fichier TXT depuis web / Sharepoint
On y est presque !,
J'ai paramétré le "Folder Path" :
et appliqué les réglages suivants :
Seulement les données sont toujours dans une seule cellule ... :
------------------------------
Kevin TOMAS
Original Message:
Sent: Dec 03, 2019 07:56 AM
From: Nicolas TREILLON
Subject: Import fichier TXT depuis web / Sharepoint
Je pense que ton souci réside dans le fait que tu importes tous les fichiers.
Pour y remédier, tu dois sélectionner ton fichier dans le champ "Folder Path" au niveau de la source (de ta requête)
------------------------------
Nicolas
Original Message:
Sent: Dec 03, 2019 07:45 AM
From: Kevin TOMAS
Subject: Import fichier TXT depuis web / Sharepoint
Bonjour Nicolas,
Merci pour ton retour, j'ai essayé la manipulation et cela génère une erreur :
------------------------------
Kevin TOMAS
Original Message:
Sent: Dec 03, 2019 07:16 AM
From: Nicolas TREILLON
Subject: Import fichier TXT depuis web / Sharepoint
Oupssss
j'ai été trop vite, j'ai fait mon import en local.
Donc je viens de le refaire depuis un dossier Sharepoint
Après avoir sélectionné mon dossier Sharepoint, j'ai fait "Combiner et Transformer les données"
Ensuite, j'ai pu indiquer le délimiteur personnalisé, comme lors de l'import en local.
Désolé mais je ne peux pas mettre de copie d'écran car ça bug
------------------------------
Nicolas
Original Message:
Sent: Dec 03, 2019 07:01 AM
From: Nicolas TREILLON
Subject: Import fichier TXT depuis web / Sharepoint
Bonjour,
AS-tu essayé de faire un import avec un délimiteur personnalisé (|) ?
Voici la requête avec l'éditeur avancé
let
Source = Csv.Document(File.Contents("C:\Users\ntreillon\Pictures\Afficher messages liste des avis.txt"),[Delimiter="|", Columns=46, Encoding=65001, QuoteStyle=QuoteStyle.None]),
#"Type modifié" = Table.TransformColumnTypes(Source,{{"Column1", type text}, {"Column2", type text}, {"Column3", type text}, {"Column4", type text}, {"Column5", type text}, {"Column6", type text}, {"Column7", type text}, {"Column8", type text}, {"Column9", type text}, {"Column10", type text}, {"Column11", type text}, {"Column12", type text}, {"Column13", type text}, {"Column14", type text}, {"Column15", type text}, {"Column16", type text}, {"Column17", type text}, {"Column18", type text}, {"Column19", type text}, {"Column20", type text}, {"Column21", type text}, {"Column22", type text}, {"Column23", type text}, {"Column24", type text}, {"Column25", type text}, {"Column26", type text}, {"Column27", type text}, {"Column28", type text}, {"Column29", type text}, {"Column30", type text}, {"Column31", type text}, {"Column32", type text}, {"Column33", type text}, {"Column34", type text}, {"Column35", type text}, {"Column36", type text}, {"Column37", type text}, {"Column38", type text}, {"Column39", type text}, {"Column40", type text}, {"Column41", type text}, {"Column42", type text}, {"Column43", type text}, {"Column44", type text}, {"Column45", type text}, {"Column46", type text}})
in
#"Type modifié"​
Ensuite, il faudra que tu renommes tes entêtes de colonnes.
Ou sinon, tu supprimes les lignes 1,2,3 et 5 dans ton fichier texte.
------------------------------
Nicolas
Original Message:
Sent: Dec 03, 2019 02:09 AM
From: Kevin TOMAS
Subject: Import fichier TXT depuis web / Sharepoint
Bonjour tout le monde,
J'essaie d'importer un fichier texte depuis un Sharepoint en appliquant la même mise en forme que s'il était importé en local à savoir :
Format d'import (en local) :
Côté import via SharePoint :
Toutes les données sont dans la colonne 1 et je n'arrive pas à créer le tableau...
Avez vous une idée ?
Merci pour votre aide,
------------------------------
Kevin TOMAS
------------------------------