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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
palunel
Helper I
Helper I

power query reads text string incorrectly

I have a table with a mix of text and decimal numbers that represent unique ID's.  Eg:  1.001, 1.002, P.23 etc.  I format these to text in the source (Excel) before importing into Power BI.  

 

The query however reads the following:

 

Capture.JPG

 

Huh?!  Not very useful.  Any suggestions would be grand.

 

Paul

7 REPLIES 7
parry2k
Super User
Super User

what you see data type of this column? Can you change it to "Text" to see if that makes a difference, I believe by default it is ABC/123. 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

The problem actually manifests iteelf when I change the type to text! It must be text.


@palunel wrote:
The problem actually manifests iteelf when I change the type to text! It must be text.

@palunel

Is it possible to share the source excel in your case for testing purpose?


@Eric_Zhang wrote:

@palunel wrote:
The problem actually manifests iteelf when I change the type to text! It must be text.

@palunel

Is it possible to share the source excel in your case for testing purpose?


I can.  How do you want me to get it to you?


@palunel wrote:

@Eric_Zhang wrote:

@palunel wrote:
The problem actually manifests iteelf when I change the type to text! It must be text.

@palunel

Is it possible to share the source excel in your case for testing purpose?


I can.  How do you want me to get it to you?


You can upload it to a network drive, such as Onedrive or Google drive and send the link in a private message if you don't like it being public.

@palunel

Thanks for sharing the excel. I can reproduce the same issue. I'll escalate  this to the product team and would post back if I get any update.

 

As a workaround, you can try to round those values and change them to text.

Capture.PNG


@Eric_Zhang wrote:

@palunel

Thanks for sharing the excel. I can reproduce the same issue. I'll escalate  this to the product team and would post back if I get any update.

 

As a workaround, you can try to round those values and change them to text.

 


Thanks, it kind of works problem is that text values that should be "1.010" ends up as "1.01".  I can sort of fix in Excel before importing into PowerBi so will continue with that until the fix is there.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.

Top Solution Authors