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
Anonymous
Not applicable

import text file , the description field break into 2 column

1 ACCEPTED SOLUTION
PhilipTreacy
Super User
Super User

Hi @Anonymous 

The problem is that the text file is delimited by white space, and they look like space characters rather than TAB's.  But the data also contain spaces so it's confusing for PBI when it's importing.  How does it know where a column starts and ends?

Using a delimiter like a comma is much better to indicate where columns start/end.

To fix this, you could import the data using fixed width columns but that is likely to break if the width of the data changes.

So I'd recommend that you just import the file as it is, then merge the 2 columns that make up your description.

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

5 REPLIES 5
Anonymous
Not applicable

@Anonymous You can create a calculated column as below-

Column = CONCATENATE(Table[Column2],Table[Column3])
 
Appreciate your kudos!! Mark this post as accepted if this helps you.
Anonymous
Not applicable

Hi Sir

I copy your expression for new column , now the issue is the 2 column join together i need to add a space. can you advise me ?

Paulyeo11_0-1602809989135.png

 

Anonymous
Not applicable

@Anonymous - To add spaces, use this formula-

New Column  = Table[Column2] & " " & Table[Column3]
 
Appreciate your kudos!! Mark my post as accepted if this helps you.
Anonymous
Not applicable

Thank you it work fine now

PhilipTreacy
Super User
Super User

Hi @Anonymous 

The problem is that the text file is delimited by white space, and they look like space characters rather than TAB's.  But the data also contain spaces so it's confusing for PBI when it's importing.  How does it know where a column starts and ends?

Using a delimiter like a comma is much better to indicate where columns start/end.

To fix this, you could import the data using fixed width columns but that is likely to break if the width of the data changes.

So I'd recommend that you just import the file as it is, then merge the 2 columns that make up your description.

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


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.

Top Solution Authors