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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
RobRayborn
Helper III
Helper III

Power Query from folder, from csv change to from tsv.

The Power Query I originally set up was from Folder, and collected from three csv files. 

These are now tab seperated values (tsv) and when I try to modify the query get a bunch of blank rows. 

What is the easiest way to convert a, From Folder csv to a From Folder tsv?

1 ACCEPTED SOLUTION
mahoneypat
Employee
Employee

They both should use the Csv.Document function in your Transform Sample File query, and you should just have to change the delimiter in that function.

 

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

4 REPLIES 4
Syndicate_Admin
Administrator
Administrator

@RobRayborn 

If you already set a connection with folder, you can just change the extent to txt(tab delimited), and simply refresh in power bi. Then right click the content to check tables.

txt.jpg

 

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

V-pazhen-msft
Community Support
Community Support

@RobRayborn 

If you already set a connection with folder, you can just change the extent to txt(tab delimited), and simply refresh in power bi. Then right click the content to check tables.

txt.jpg

 

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

KNP
Super User
Super User

As long as the file names are consistent, in the Csv.Document line, I think it should be as simple as changing your version of...

[Delimiter=",", Columns=4, Encoding=1252, QuoteStyle=QuoteStyle.None]

 

to...

4,"",ExtraValues.Ignore,1252

 

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
chrome-9xf-Zagzel-B

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
KIfp67uy-Sr
Proud to be a Super User!PBI-Super-User-Rank-30x30-1x
mahoneypat
Employee
Employee

They both should use the Csv.Document function in your Transform Sample File query, and you should just have to change the delimiter in that function.

 

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors