PQ Text to Numeric (Numbers)

MarkCBB

Active Member
Joined
Apr 12, 2010
Messages
497
Hi there,

I am using PQ in the PBI Desktop, I am getting data from Excel, however one of the values columns that contain numbers are formatting as text, i.e. right aligned, once I have imported the data into the PQ and updated the column data type to Whole numbers the Charts do not populate with the values, There is no DAX. If I open the Excel file and correct the text number to numbers and reload into Power BI, the chart works. Why is this? is there any to get PQ to do the heavy lifting, or do I need to ensure that the data going into PQ is corrected before importing?

I know is sounds silly, but I get these files every 2-3 hours, and I really dont want to have to manually (or VBA) to fix the problem, I am sure that PQ should be able to do this.

It is important to note that not all the values in the column are text numbers, just some of them.

The formulas I use to update them in Excel is Value -0, then paste special over the column
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
After converting to WholeNumber can you load to Sheet to see if the cells all contain numbers.
it could be some cells do not get translated correctly and remain as text.

Just a guess.
 
Upvote 0

Forum statistics

Threads
1,224,163
Messages
6,176,789
Members
452,743
Latest member
Unique65

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top