Forum Discussion
Anonymous
7 years agoNot applicable
Sumproduct formula in PowerBI
Hi All, I have an excel formula I need to translate in DAX, anyone know how to do it? =SUMPRODUCT(ISNUMBER(MATCH(EmployeeRange,A1,0))*ISNUMBER(MATCH(EmploymentRange,{"Full-Time","Part-Time"}...
- 7 years ago
Hi,
With this calculated column formula, here is the result i get
Column = if(CALCULATE(COUNTROWS(Data),FILTER(Data,Data[EmployeeID]=EARLIER(Data[EmployeeID])&&(Data[EmployeeRole]="Full-time"||Data[EmployeeRole]="Part-time")))>=1,1,BLANK())
Anonymous
7 years agoNot applicable
Ashish_Mathur This works like an absolute charm. Thanks so very much for your time on this, its greatly appreciated. Its exactly what I need, a 1 or a 0 aganst each employee ID.
Really genius!
Ashish_Mathur
Super User
7 years agoYou are welcome. Thank you for your kind words.