Forum Discussion

Raivo_S's avatar
Raivo_S
Frequent Visitor
7 years ago
Solved

DAX Filter on same Table

Hello, I am struggling to create to create formula, that would filter table based on values from the same table. I created this table of individual sales as an example: It shows client who bo...
  • Ashish_Mathur's avatar
    7 years ago

    Hi,

    This calculated column formula works

    =if(Data[Product]="BBB",CALCULATE(COUNTROWS(Data),FILTER(Data,Data[Client_ID]=EARLIER(Data[Client_ID])&&Data[Product]="AAA"&&Data[Seller]=EARLIER(Data[Seller]))),BLANK())