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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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