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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Frixel
Post Prodigy
Post Prodigy

I don`t get comma separated table

Hello,

 

When i have a comma separated .csv file, Power Bi will not create a table with the multiple`s  colomns after 'Combine files'

Whats goes wrong?

 

 

Frixel_1-1724834259782.png

 

1 ACCEPTED SOLUTION

After loading your data into Power query like the next image

Omid_Motamedise_0-1724923481829.png

 

go to addd column tab and select custom column 

Omid_Motamedise_1-1724923510659.png

 

then in the oppend window write the next formula


Csv.Document([Content])

like the next formula

Omid_Motamedise_2-1724923560647.png

 

 

it result in a new column inclsuing table with different columns

Omid_Motamedise_3-1724923595530.png



like this

Omid_Motamedise_4-1724923702774.png

 



if it does not solve by the previous one, use this formula

= Csv.Document([Content],[Delimiter=",", Columns=4, Encoding=65001, QuoteStyle=QuoteStyle.None])


If my answer helped solve your issue, please consider marking it as the accepted solution.

View solution in original post

10 REPLIES 10
Omid_Motamedise
Super User
Super User

Oppen the CSV file with Excel and let me know if it shows in Excel in separate columns or just in a single column.


If my answer helped solve your issue, please consider marking it as the accepted solution.

Hi @Omid_Motamedise 

 

Yes it opens in separate columns.

Ok, no worries, I will provide you solution in a minute here, 
if you could share your data with one row of info which your data will replaced by other data, I can provide exactly the code for you, then you can copy and paste it.


If my answer helped solve your issue, please consider marking it as the accepted solution.

i don`t how to add a attachment here

Follow the process I presented in the next comment, if it does not work, put it into your drive and share the link, or let me know to give you my email if it does not work also


If my answer helped solve your issue, please consider marking it as the accepted solution.

After loading your data into Power query like the next image

Omid_Motamedise_0-1724923481829.png

 

go to addd column tab and select custom column 

Omid_Motamedise_1-1724923510659.png

 

then in the oppend window write the next formula


Csv.Document([Content])

like the next formula

Omid_Motamedise_2-1724923560647.png

 

 

it result in a new column inclsuing table with different columns

Omid_Motamedise_3-1724923595530.png



like this

Omid_Motamedise_4-1724923702774.png

 



if it does not solve by the previous one, use this formula

= Csv.Document([Content],[Delimiter=",", Columns=4, Encoding=65001, QuoteStyle=QuoteStyle.None])


If my answer helped solve your issue, please consider marking it as the accepted solution.
Frixel
Post Prodigy
Post Prodigy

@lbendlin 

It must be me but i can't find the function Table.AddColumn with a Csv.Document([Content])  

 

Frixel_0-1724911445597.png

 

Omid_Motamedise
Super User
Super User

Check the regional settings in Power BI under File > Options and settings > Options > Regional settings, and make sure that the settings match the delimiter used in your .csv files.


If my answer helped solve your issue, please consider marking it as the accepted solution.

@Omid_Motamedise 

There are no delimiter settings in the options in Regional settings

 

Frixel_1-1724911927594.png

 

lbendlin
Super User
Super User

Don't use "Combine Files"  - that is a function for beginners, and comes with a lot of extra baggage that you don't want.  Instead use Table.AddColumn with a Csv.Document([Content])  formula.  You can specify the column separator in the parameters of the Csv.Document function.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.