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: 
Mahamed_Qlik
Specialist
Specialist

new to qlik

Hi Experts,

 

How to write script for below query:

select sum(B.QUANTITY*B.UNIT_PRICE)
from DIM_Table1 A,
DIM_Table2 B,
DIM_Table3 C,
FACT_Table4 D

where A.AUTHORIZATION_STATUS='APPROVED'
and A.REQUISITION_HEADER_ID=B.REQUISITION_HEADER_ID
and B.REQUISITION_LINE_ID=C.REQUISITION_LINE_ID
and C.DISTRIBUTION_ID<>D.REQ_DISTRIBUTION_ID

Labels (1)
2 Replies
Taoufiq_Zarra

@Mahamed_Qlik  can you share a sample data ?

Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉
Mahamed_Qlik
Specialist
Specialist
Author

I just need how we can write in script editor