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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
kurwilliams
New Member

Split Column by Delimiter Advanced # of Columns is PRE-set to 2??

I am wondering if anyone else has encountered this as it was a bit of a shock for me. I used the "split column by delimiter" feature and I was surprised that I only got two columns when I knew there should have been three. Turns out that under the "advanced" section the # of columns was pre-set to "2". Limiting the output, so even though I said split at each instance, it would only ever give me 2 columns. I went to several other areas I used this and it did the same thing! Is this a setting somewhere? How do I change the default value? I would prefer to have NO default there, and just get the correct number of columns for my data!

1 ACCEPTED SOLUTION
m_dekorte
Super User
Super User

Hi @kurwilliams,

 

The issue is that the M engine scans only the top 200 rows to determine the number of columns. That cannot be adjusted as it is by design. When you know the number of columns a split column operation should produce and that number is fixed, you can update it manually.

 

However, when the number of columns is unknown or may vary other techniques can be used, one of those techniques is demonstrated here: Split by Variable Columns 

 

I hope this is helpful

 

View solution in original post

1 REPLY 1
m_dekorte
Super User
Super User

Hi @kurwilliams,

 

The issue is that the M engine scans only the top 200 rows to determine the number of columns. That cannot be adjusted as it is by design. When you know the number of columns a split column operation should produce and that number is fixed, you can update it manually.

 

However, when the number of columns is unknown or may vary other techniques can be used, one of those techniques is demonstrated here: Split by Variable Columns 

 

I hope this is helpful

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Solution Authors