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
Tekell
Frequent Visitor

Power Query | QuickBooks Online | Number Formatting .xls files

I currently have several reports ( .xls files ) being emailed from QuickBooks online to a Sharepoint location. When I open these reports, the number format is "custom". When I connect Power Query to these sources it cannot "recognize" that number format and therefore brings in "0". As I manually change the number format from "custom" to "general, currency, etc..." Power Query then brings in the actual data. 

 

Does anyone have a solution for this ?

3 REPLIES 3
v-stephen-msft
Community Support
Community Support

Hi @Tekell ,

 

You can also try replacing errors after data is imported into Power Query.

Select the column and find the data type option, change the type to "Decimal Number" or "Currency", depending on what is appropriate for your data.

If changing the data type results in errors, you can replace the errors with null or a default value.

Right-click on the column header and select "Replace Errors".

Enter the value you want to replace the errors with (e.g., null or 0).

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.           

Tekell
Frequent Visitor

Here's the number formatting in the .xls files:

 

Tekell_0-1701691640445.png

 

Hi @Tekell , 

you can solve your issue by going to the power query, remove the auto change type step for that field and change type using local 

mussaenda_0-1702276823574.png

 

then select data type as decimal number

mussaenda_1-1702276866431.png

and selectt he language of your currency

mussaenda_2-1702277072530.png

 

Just take note that in Europe, "," means "." and vice versa.

 

Hope this helps

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
Top Kudoed Authors