Forum Discussion
yacine_Big
3 years agoFrequent Visitor
Calculate loyal customers
Hi i need help, i will try to explain my problem i hope someone can understand i have a table with many costumers and many products situation number one: a costumer who buys many products in same...
- 3 years ago
maybe you can create a new column
loyalty = if(CALCULATE(DISTINCTCOUNT('Table'[products]),ALLEXCEPT('Table','Table'[ID Name],'Table'[category]))=1,"Y","N")
Ahmedx
Super User
3 years agoI corrected my file, please download it again
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.