Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
smilingjohn
Specialist
Specialist

Error

Hi All

Actaully my script was runing  well unless i added Distinct to it , and now its giving the error .

Can someone tell me where I am wrong ?

ErrorSource: OraOLEDB, ErrorMsg: ORA-01791: not a SELECTed expression

Department:

   SQL

  SELECT 

        Distinct 

        aia.invoice_id,

        AIA.vendor_id "VendorId",

......

and so on

Do i need to mention Distinct before Select or what ?

1 Solution

Accepted Solutions
tamilarasu
Champion
Champion

Hi,

Try like,

Load distinct *;

SQL

SELECT

        aia.invoice_id,

        AIA.vendor_id "VendorId",

......

View solution in original post

2 Replies
tamilarasu
Champion
Champion

Hi,

Try like,

Load distinct *;

SQL

SELECT

        aia.invoice_id,

        AIA.vendor_id "VendorId",

......

Not applicable

You can also try Group By instead of Distinct in your script.