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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Radhika123
Frequent Visitor

Text and numbers in same column.

I have a column called "Task ID" in share point list which is having some rows with numbers and some rows with text , but when i load to power BI I'm not able to see the text rows data , instead it is showing errors where the text is present .Please help me in this.

 

Thanks in Advance.

1 ACCEPTED SOLUTION
Radhika123
Frequent Visitor

Hi @Khushidesai0109 ,
@skygold16 ,
@MNedix 
Thank you so much for your replies, I got the answer for the question I have asked.
I changed the data type to 'any', in advance advance editor of power query.

Thank You,
Radhika.

View solution in original post

17 REPLIES 17
Radhika123
Frequent Visitor

Hi @Khushidesai0109 ,
@skygold16 ,
@MNedix 
Thank you so much for your replies, I got the answer for the question I have asked.
I changed the data type to 'any', in advance advance editor of power query.

Thank You,
Radhika.

Khushidesai0109
Helper III
Helper III

Hiii Can you please send the column details as well like copy the column data and paste it here so I can see whats the major issue is

Radhika123_0-1714713861767.png

I have done close and apply in power query , and I found blanks where the text present.

--------
8224347
8224347
Cubix_TE
Cubix_TE
Cubix_TE
Cubix_TE
Cubix_TE
Cubix_TE
Cubix_TE
Above is the data from that column.And that particular column is a choice column.

Hiii,
Please See this the data format is correct and can view as wellScreenshot 2024-05-03 105745.pngScreenshot 2024-05-03 105810.pngScreenshot 2024-05-03 105822.png
Thank You
If this helped you please give thumbs up and accept it as solution!!!!

Radhika123_0-1714714611957.png

Thanks @Khushidesai0109 , then what might be the problem with my data source . I have set that column to text itself, like you have done.

Hiii,
Please See this the data format is correct and can view as wellScreenshot 2024-05-03 105745.pngScreenshot 2024-05-03 105810.pngScreenshot 2024-05-03 105822.png
Thank You
If this helped you please give thumbs up and accept it as solution!!!!

Khushidesai0109
Helper III
Helper III

Hiii
The error shows that you changed the data type of that column to number 
Please see the table view and in that select Text
or Go to power query and change to datatype of column to text

Thank You
If this helped you please give thumbs up and accept it as solution!!!!

Hi @Khushidesai0109 ,
Thanks for the reply.

Radhika123_0-1714713149969.png

please check the snap shot above . I  had changed the column to text ,but it didn't work.

Hii,
Have you applied it and closed it, please check in the table view as well 

skygold16
Helper II
Helper II

As error shows, there is a text value in the field and I think you need to look at your Power Query steps which is trying to convert the column to a text datatype. If you want to use numeric and text value together, you need to keep the column data type as string. Or you can filter our the value which is non-numeric. 

I have changed the column type to text in power Query , but it didn't work. Need to try to filter value to non numeric. Will try and let you know.And that column is a choice column in share point list .Is that the reason for this issue ?

skygold16
Helper II
Helper II

Hi There, 

 

Did you try changing the column data type to text while loading data thorugh Power Query ?

 

Thanks,

 

Hi @skygold16 ,
Thanks for your reply.
yes , I have tried in that way also.

Thanks.

@Radhika123  Can you paste a snippet of your data?

Radhika123_0-1714634090910.png

Hi @MNedix .Thanks for th reply
Please find the snap shot.

What error do you see?

Radhika123_1-1714634145114.png

Radhika123_2-1714634160413.png

Hi @skygold16 .
I'm getting the error as above.

 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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