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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

nested select/query

Hi!

Can I use nested select in Qlikview? I have tried to include the following select statement in the script but haven't succeeded. can somebody advise me with this?

SELECT
AMOUNTMST
FROM (SELECT
DELIVERYDATE,
(REMAINPURCHPHYSICAL + REMAINPURCHFINANCIAL) *

PURCHPRICE * (SELECT TOP ( 1 ) EXCHRATE
FROM DBO. EXCHRATES
WHERE (CURRENCYCODE = P. CURRENCYCODE)) AS AMOUNTMST

FROM DBO. PURCHLINE AS P)

Thanks,

Petteri



2 Replies
Not applicable
Author

Yes you can, try to run same query in SQL (SQLSERVER) first, if that runs properly, there should not be an issue.

amars
Specialist
Specialist

After From you have forget to put the Table name. Try to run query in sql server first.