Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
retko1985
Creator II
Creator II

Cases when we get more data using joins.

Hello,

I heard that in some situations, using wrongly join will generate more data, and I will probably get bigger number when I do SUM. Can someone think of some examples? And also probably how to do it correctly.

Thank you.

1 Solution

Accepted Solutions
Mark_Little
Luminary
Luminary

Hi,

One example would be With Orders. Say you have order header and you have have order lines.

The header hold the total and the line the individual line values.

If you load the lines and then left Join head, the total will show on each line.

So if you SUM(TotalOrderValue) this value will bigger as it will be multiplied by the number of lines on the order.

It maybe fine to do the above, but you would have to make sure you're aware of the Aggreation front end.

Mark

View solution in original post

2 Replies
Mark_Little
Luminary
Luminary

Hi,

One example would be With Orders. Say you have order header and you have have order lines.

The header hold the total and the line the individual line values.

If you load the lines and then left Join head, the total will show on each line.

So if you SUM(TotalOrderValue) this value will bigger as it will be multiplied by the number of lines on the order.

It maybe fine to do the above, but you would have to make sure you're aware of the Aggreation front end.

Mark

prma7799
Master III
Master III