Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
suvechha_b
Creator III
Creator III

Script Error

I have a fact :

"SupplierOrders":

LOAD   

    "product_key",

    "warehouse_key",

    "customer_key",  

    "Delivered Qty",

    "Picked Qty",   

    "OutStanding Amount";

SQL SELECT 

    product_key,

    customer_key,    

    warehouse_key, 

    [Delivered Qty],

    [Picked Qty],   

    [OutStanding Amount]

FROM edw.dbo."qlk_fact_invoiced_orders";

Dimension :

"Customer":

LOAD "customer_key",

    "Customer Company Code",

    "Customer Code",

    "Customer Code Name",

    "Province Name",

    "Customer Name";

SQL SELECT *

FROM edw.dbo."qlk_dim_customer";

INNER JOIN

LOAD customer_key

    RESIDENT CustomerKey;

DROP TABLE CustomerKey;

and

"CustomerKey":

LOAD DISTINCT customer_key

    RESIDENT "SalesOpenOrders";

I want to use this as because I want to restrict customer_key

There is an scrit error  that :

Table not found

LOAD DISTINCT customer_key

    RESIDENT "SalesOpenOrders";

1 Solution

Accepted Solutions
marcus_malinow
Partner - Specialist III
Partner - Specialist III

Hi,

the error is occurring because you haven't created the SalesOpenOrders table. Are you sure you aren't meaning to use the SupplierOrders table?

Also you don't need to enclose your table names in quotes.

Marcus

View solution in original post

1 Reply
marcus_malinow
Partner - Specialist III
Partner - Specialist III

Hi,

the error is occurring because you haven't created the SalesOpenOrders table. Are you sure you aren't meaning to use the SupplierOrders table?

Also you don't need to enclose your table names in quotes.

Marcus