Forum Discussion

yacine_Big's avatar
yacine_Big
Frequent Visitor
3 years ago
Solved

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...
  • ryan_mayu's avatar
    3 years ago

    yacine_Big 

    maybe you can create a new column

    loyalty = if(CALCULATE(DISTINCTCOUNT('Table'[products]),ALLEXCEPT('Table','Table'[ID Name],'Table'[category]))=1,"Y","N")