Rafferty Lim Posted January 23, 2020 Share Posted January 23, 2020 Hello, I have imported a file which shows each item that every customer purchased for the past 2 years. The data only has the specific items which every customer bought. The items which a specific customer did not buy is not specifically mentioned in the data. My question is it is possible to show which items a specific customer is has not bought on Spotfre Maybe through a table Thanks! Raff Link to comment Share on other sites More sharing options...
Fredrik Rosell Posted January 24, 2020 Share Posted January 24, 2020 Hello, There are likely a lot of different ways you could do this, depending on exactly what you are trying to achieve. Assuming that you have one table of purchases and one with all products, you could simply create a relation between those two (in my example below on Product ID), to visually see which products have been purchased and which hasn't by marking a customers purchases.In the example below, I mark customer #1 purchases (blue) in the Purchases table to the left and then I can see in the Products table to the right which ones had been bought (marked blue) and which ones had not been bought (no marking) If you want to do calculations on it, be able to filter etc, you might want to just merge the data (e.g. add columns from one table to the other), and add transformations (in my example below, I used pivot and unpivot) to get the structure you need - to e.g. get the products that had not been purchased become data points that a customer had bought 0 items of. Best Regards Fredrik Link to comment Share on other sites More sharing options...
Rafferty Lim Posted January 28, 2020 Author Share Posted January 28, 2020 Thanks for the suggestion! Will try it out. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now