Forum Discussion
WillT
Community Admin
10 years agoCustomers who bought multiple products
Hi everyone. Worked on a little problem recently to try and figure out "customers who bought combinations of products". I have seen plenty of posts and great patterns on Basket Analysis (e.g. DAX Pat...
Sean
Community Champion
10 years agoVvelarde Not sure what you mean - you can CTRL select or just turn off single select (in the pbix file)
EDIT: CTRL Select works on the published report
Sean
Community Champion
10 years agoHere's the Measure for everyone to see!
Buyers of All Selected Products =
IF (
ISBLANK (
COUNTROWS (
FILTER (
SUMMARIZE (
Sales,
Sales[Customer],
"ProductsBought", DISTINCTCOUNT ( Sales[Product] )
),
[ProductsBought] = COUNTROWS ( VALUES ( Sales[Product] ) )
)
)
),
0,
COUNTROWS (
FILTER (
SUMMARIZE (
Sales,
Sales[Customer],
"ProductsBought", DISTINCTCOUNT ( Sales[Product] )
),
[ProductsBought] = COUNTROWS ( VALUES ( Sales[Product] ) )
)
)
)
Thanks to WillT :smileyhappy: