Create Data Types in Power Query

Manish4993

New Member
Joined
Apr 19, 2021
Messages
8
Office Version
  1. 365
Platform
  1. Windows
Hi All,

Please go through with the screenshots. I was creating a custom Data Type by using a excel table data set. In final screenshot i got a #Field error, although non of the cell was blank in that selected entire data type row
1618832573015.png


1618832596404.png
 
In normal errors (I assume it works for custom data type errors) you should be able to click on where it says "8 errors" and it should open the query editor as a new query with just those rows in it.
 
Upvote 0

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
In normal errors (I assume it works for custom data type errors) you should be able to click on where it says "8 errors" and it should open the query editor as a new query with just those rows in it.

No data found after clicking on errors.

1618908042056.png
 
Upvote 0
No data found after clicking on errors.

View attachment 37089

In PQ can you go Add Column > Index Column > From 1
Then filter on that column so you get number 78555 - 78557 (expecting 78556 to be the problem row - its 78557 in your screenshot but that includes 1 heading row)
Then compare 78556 to the other 2 rows and perhaps drill into that row to be able to more clearly see what makes it up.
 
Upvote 0
In PQ can you go Add Column > Index Column > From 1
Then filter on that column so you get number 78555 - 78557 (expecting 78556 to be the problem row - its 78557 in your screenshot but that includes 1 heading row)
Then compare 78556 to the other 2 rows and perhaps drill into that row to be able to more clearly see what makes it up.
I used the steps you said but still i am not able to find any error in that row range from 78555 to 78557. What to do now? Please connect me @ manish4993@gmail.com there i will share my laptop screen to u for better understanding.
 
Upvote 0
Hello Manish,

I believe we have resolved your issue. The steps we followed are:-

Trouble Shooting Steps

  1. Click on each of the steps starting from Source and look for columns headings that instead of a green bar have a little bit of red and a diagonal striped green.
    This signifies errors in the column.
    1619058055395.png

  2. When this appears you will have found the step that caused the errors and the column that has the error.
    For bar code it was the 1st Changed Type converting it to decimal. (There were alpha numeric bar codes)
Now that you know there are errors and in which step and column, if you want to work out what the problem is follow the below.

  1. Added Index no after Source step
  2. Go to step where errors first appear
  3. Home > Keep Rows > Keep Errors
  4. Get the Row no from the Index no column. At this point the column will simply show “Error” and not what the value was that caused the error.
  5. Go to step before where the errors appear and scroll down to one of the rows identified in the above.
    You will now be able to see the value in that column which should give you a good idea of why the step caused an Error
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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