Hi,
I have two query subjects that have the exact same table entries in each of them. For one of the entries I have a different filter value applied for each query.
QS1
BatchId
Parameter (Filter:Parameter=Volume)
QS2
BatchId
Parameter (Filter:Parameter=Height)
I now want to join these two query subjects together so that I can get a combination of the two results.
QS1 QS2
BatchId(1..1)_______(1..1)BatchId
Paramter Parameter
When I test this I don't get any results returned.
It's as if the filter value in each of the query subjects is being joined with an 'AND', and because the filter is on the same entry in both query subjects it means that it can't be two different values at the same time. I am modelling all of this in Framework manager.
Regards.
Did you try creating a third query subject (with the same columns as these two) without any filters?
Try joining both of these with the 3rd query subject. I have a similar model and it works fine.
If they are joined like that, you'd be forcing an AND statement on the WHERE clause. If they are joined inside a model, then create one filter and combine both parameter filters with an OR.