Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
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.
When importing from Excel into Power BI, the preview looks as follows.
In Power Query, the default data type of SR_RejectionReasonID = Decimal Number.
Changing the data type to Text brings all the numbers back, but without the comma delimiter.
Can someone advise how to get the data in Power Query to appear exactly as it does in Excel (numbers with delimiter)?
Regards,
Nathan
Solved! Go to Solution.
Hi @WinterMist
When PBI imports the data and after some steps it auto adds a Change Type step.
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:
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.
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.
Hi @WinterMist
When PBI imports the data and after some steps it auto adds a Change Type step.
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:
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.
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.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
25 | |
12 | |
12 | |
11 | |
8 |
User | Count |
---|---|
42 | |
27 | |
14 | |
13 | |
13 |