Report left join on other View does not return the right data
Resolved
Hello,
I create a report where I make a "left join" on an other view.. But the result is not correct. Please help :)
When I turn on "Show Duplicate Records", the result list is much more than if I disable it.
Hi Carsten,
Apologies for the delays on this.
Left outer joins means, take everything from the left table, and show matching rows on the right, and any other rows returned.
So you will get rows matching, and also blank rows (from the right table) where they are not.
Then if you show duplicates, again it will impact the number of blank rows>
E.g. If duplicates now shows more on the left, you get more on the right.
Hope this makes sense and apologies if I'm missing something here.
Regards,
David
Hi Carsten,
Apologies for the delays on this.
Left outer joins means, take everything from the left table, and show matching rows on the right, and any other rows returned.
So you will get rows matching, and also blank rows (from the right table) where they are not.
Then if you show duplicates, again it will impact the number of blank rows>
E.g. If duplicates now shows more on the left, you get more on the right.
Hope this makes sense and apologies if I'm missing something here.
Regards,
David
HI David, you are right. But I have on the right side the informations, but yf shows me empty fields. So there is something wrong. I use on the left side "Oracle-Tables" and on the right side "MSSQL-Tables".
Maybe we can look together on this issue.
Greets
HI David, you are right. But I have on the right side the informations, but yf shows me empty fields. So there is something wrong. I use on the left side "Oracle-Tables" and on the right side "MSSQL-Tables".
Maybe we can look together on this issue.
Greets
Hi,
1. The "left" table is a sql with left joins. The join condition to the right table is the field"sd.Name0" (see xlsx "left table sd0.name0") We make a substring by the computer name, because all our assets starts with "A" so we replace the first Letter with an "A", see SQL
2. The right table informations.The join condition field is "Comp_ID"
Freundliche Grüße
Carsten Lempert
Hi,
1. The "left" table is a sql with left joins. The join condition to the right table is the field"sd.Name0" (see xlsx "left table sd0.name0") We make a substring by the computer name, because all our assets starts with "A" so we replace the first Letter with an "A", see SQL
2. The right table informations.The join condition field is "Comp_ID"
Freundliche Grüße
Carsten Lempert
Hi Carsten,
I would like to arrange a screen share with you so we can take a look at this. Can I suggest a time at around 3pm (U.K time) today or some time tomorrow afternoon?
Regards,
Paul
Hi Carsten,
I would like to arrange a screen share with you so we can take a look at this. Can I suggest a time at around 3pm (U.K time) today or some time tomorrow afternoon?
Regards,
Paul
HI, it is 4pm german time. I think that's ok. Please send me an invite.
HI, it is 4pm german time. I think that's ok. Please send me an invite.
Hi Carsten,
We can bring this to 3pm german time if you like and it might be better for us also. If you can let me know which one suits and I will schedule the invite.
Thanks,
Paul
Hi Carsten,
We can bring this to 3pm german time if you like and it might be better for us also. If you can let me know which one suits and I will schedule the invite.
Thanks,
Paul
Ok, then I prefer 3:15pm ;)
Ok, then I prefer 3:15pm ;)
Hi Carsten,
No problems. I have sent you the invite for 15:15 your time. There will be myself and Brett Churchill on the call.
Regards,
Paul
Hi Carsten,
No problems. I have sent you the invite for 15:15 your time. There will be myself and Brett Churchill on the call.
Regards,
Paul
Hi Carsten,
Thank you for your time today and joining Bret and myself on the call. Just a quick recap.
From observing the issue first hand and through Bret's analysis we discovered that the matching was not occurring due to the number of rows being returned. After changing the maximum rows from 10,000 to no limit we found that the matching worked, so the solution was to remove this limit. As noticed, there was a performance change by doing this, so we also suggested a couple of things to improve this which you will now look at.
Let me know if you need anything else on this ticket or are happy for it to be closed off for now.
Regards,
Paul
Hi Carsten,
Thank you for your time today and joining Bret and myself on the call. Just a quick recap.
From observing the issue first hand and through Bret's analysis we discovered that the matching was not occurring due to the number of rows being returned. After changing the maximum rows from 10,000 to no limit we found that the matching worked, so the solution was to remove this limit. As noticed, there was a performance change by doing this, so we also suggested a couple of things to improve this which you will now look at.
Let me know if you need anything else on this ticket or are happy for it to be closed off for now.
Regards,
Paul
Hi,
thanks for help. Everything is fine now. I filtered out something, and now the Report runs as espected :). You can Close this ticket.
Hi,
thanks for help. Everything is fine now. I filtered out something, and now the Report runs as espected :). You can Close this ticket.
Hi Carsten,
That is excellent news. I am closing off now, but please reach out if you need further help.
Regards,
Paul
Hi Carsten,
That is excellent news. I am closing off now, but please reach out if you need further help.
Regards,
Paul
Replies have been locked on this page!