Excel PQ not finding table

jimrward

Well-known Member
Joined
Feb 24, 2003
Messages
1,899
Office Version
  1. 2021
  2. 2019
  3. 2016
  4. 2013
  5. 2011
  6. 2010
  7. 2007
  8. 2003 or older
Platform
  1. Windows
historically i have a large data set from which I have created lots of sub queries and everything is working fine
my current issue is as follows
I created a small table on a worksheet with some lookup values and gave it a name PaperCount, this table has a name in column 1 and count in column 2

in one of my existing queries I want to reference this table and pick up the value according to the name and get the value

adding custom columns with
if List.PositionOf(PaperCount[UniqueNames],[SName]) = -1 then 0
else PaperCount[Total]{List.PositionOf(PaperCount[UniqueNames],[SName])}

I keep getting an error "The name PaperCount wasnt recognised"
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Did you load the table as a query (or a step in one)? If not, you can't refer to it.
 
Upvote 0
@RoryA , you beat me to it, in trying many things I stumbled blindly and tried loading as connection only and it worked
is it good practice to load all static lookup tables as connection only or does this have performance issues before I go adding in more
 
Upvote 0
If you need to use them, you may as well, since you will have to load them at some point.
 
Upvote 0

Forum statistics

Threads
1,224,903
Messages
6,181,651
Members
453,059
Latest member
jkevin

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