Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Compute column based on sets of users

Hello - Can someone help solve this problem?

The data:

- File 1 is user-level data that has one row for each product the user has bought

- File 2 is totals for the entire set of users

Desired output:

- I want to compute the % of users that bought all products based on a selection of products.  That is, if I limit product to "toys", I want to compute the % of those toy-buying users that also bought every other product

- I want to compare that toy-buying user set to a fixed total from the entire set of users.

The issue:

- this works fine when no selections are made - see image:

Screen Shot 2017-09-14 at 11.16.26 AM.png

- But when I make a product selection, it naturally shows only the users that bought that product:

Screen Shot 2017-09-14 at 11.17.47 AM.png

I need the table to show the buy rate for users that purchased groceries, instead of limiting all the data to just records associated with product = groceries.  I suspect this is related to p() in set analysis but can't quite get it to work.

The sample QVW file is attached.  All suggestions are appreciated!

1 Solution

Accepted Solutions
sunny_talwar

4 Replies
sunny_talwar

This?

Capture.PNG

sunny_talwar

Or this

Capture.PNG

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

What is the expected output?

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Not applicable
Author

Thanks so much - yes, this is what I needed.