Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

DAx Formula

Hello All,   Please help me with the below DAX formula   Target: 1. Need the client Distinct Client count. Example: A,B,C... 2. For cleints like "A" it should count the figures mentioned in col...
  • v-juanli-msft's avatar
    7 years ago

    Hi Anonymous 

    Is this problem sloved? 

    If it is sloved, could you kindly accept it as a solution to close this case?

    If not, please let me know.

     

    Based on your requirements, you could create two measures

    sum = CALCULATE(SUM(Table1[Bundle]),ALLEXCEPT(Table1,Table1[Client]))
    
    discount = CALCULATE(DISTINCTCOUNT(Table1[Client]),ALL(Table1))

    Best Regards

    Maggie