Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Deleting Multiple Rows for multiple conditions

Hello, I am    Probelm:  As you can see, a Account Number can have multiple Status. I am trying to write a query where the query looks for the first account number and checks if it has a "SEE Statu...
  • Ashish_Mathur's avatar
    7 years ago

    Hi,

    Based on your limited information, this DAX formula works

    if(HASONEVALUE(Data[Account Number]),if(DISTINCTCOUNT(Data[SEE Status])>1,"Applicable",VALUES(Data[SEE Status])),BLANK())

    Hope this helps.