Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
Not applicable

Want to select all records from one table that do not have corresponding record in another?

I have 2 tables, Orderhed and Invoicehed. Not all orders have been invoiced, so for those there are no records in the invoice tables.

How would I go about creating a button, or list box description that allows me to select all Orders that have not been invoiced? There is no flag on the order that says it has been billed, and creating an expression If(isnull(invoicenum),'Not Invoiced','Invoiced') is not giving the correct results.

1 Solution

Accepted Solutions
Not applicable

Want to select all records from one table that do not have corresponding record in another?

Was able to get it to work by using: If(ordernum<>0 and not IsNull(invoicenum),'Billed','Unbilled')

1 Reply
Not applicable

Want to select all records from one table that do not have corresponding record in another?

Was able to get it to work by using: If(ordernum<>0 and not IsNull(invoicenum),'Billed','Unbilled')

Community Browser