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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
WinterMist
Impactful Individual
Impactful Individual

How To Import Comma Delimited Values Within a Single Column

Hello Community - Could someone advise me how to import comma delimited values within a single column?

 

In the past, this just worked without taking any specific steps.

But now, it's behaving differently.

 

Excel column SR_RejectionReasonID contains comma delimited values.

 

WinterMist_0-1731435016791.png

 

When importing from Excel into Power BI, the preview looks as follows.

 

 

WinterMist_2-1731445954462.png

 

In Power Query, the default data type of SR_RejectionReasonID = Decimal Number.

 

WinterMist_3-1731446328138.png

 

Changing the data type to Text brings all the numbers back, but without the comma delimiter.

 

WinterMist_4-1731446615747.png

 

 

WinterMist_5-1731446902642.png

 

Can someone advise how to get the data in Power Query to appear exactly as it does in Excel (numbers with delimiter)?

 

WinterMist_0-1731435016791.png

 

Regards,

Nathan

1 ACCEPTED SOLUTION
SamWiseOwl
Super User
Super User

Hi @WinterMist 

When PBI imports the data and after some steps it auto adds a Change Type step.

SamWiseOwl_0-1731450792848.png

You could delete this step to prevent it assigning the numeric data type.

Or click on the step when you change the datatype and see this message:

SamWiseOwl_1-1731450861081.png

Choose Replace current to ensure that this column was ALWAYS text.

Not converted to number and back to text.

 

Alternitvely modify the M of the changed type step.

SamWiseOwl_2-1731450928363.png

 

Change this from type Number to type text.

 

My guess is that your data has changed. The data type is based on the first 1000 rows, in the past maybe the first 1000 only had numbers.

 


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

View solution in original post

1 REPLY 1
SamWiseOwl
Super User
Super User

Hi @WinterMist 

When PBI imports the data and after some steps it auto adds a Change Type step.

SamWiseOwl_0-1731450792848.png

You could delete this step to prevent it assigning the numeric data type.

Or click on the step when you change the datatype and see this message:

SamWiseOwl_1-1731450861081.png

Choose Replace current to ensure that this column was ALWAYS text.

Not converted to number and back to text.

 

Alternitvely modify the M of the changed type step.

SamWiseOwl_2-1731450928363.png

 

Change this from type Number to type text.

 

My guess is that your data has changed. The data type is based on the first 1000 rows, in the past maybe the first 1000 only had numbers.

 


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.