Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Issue with joining 2 fact tables

I have essentially 2 fact tables

A fact table for my Materials which contains Material, Volume in Stock (VoS) and Material Price

And also a Customer fact table which contains Customer, Volume Sold and Value Sold

I need to create a pivot table displaying Material, VoS, Volume Sold and Value Sold

I left join the customer table to the material table - and then load the fields into a qvd - then load the qvd in my scrpit and drop the original material/customer table

My issue is that the VoS figure is being multiplied by the Volume Sold figure when I load the customer fact table into my script

When I exclude the customer fact table the VoS figure is correct, however when I include the customer table the VoS figure increases dramatically.

Hopefully this makes sense

Thanks

0 Replies