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(B28:B199999;C28:C49999;0))))
Two columns
april
may
There can be multiple records for each
(as I continue to tear my hair out!)
Thanks All
6 Replies
- AnonymousNot applicable
HI Anonymous ,
AFAIK, SUMPRODUCT function will multiplies ranges or arrays together and returns the sum of products. You can consider to use sumx function to get the result:
Formula = SUMX ( ALLSELECTED ( Table ), [Column1] * [Column2] )
Regards,
Xiaoxin Sheng
- Ashish_Mathur
Super User
Hi,
Share some data and show the expected result.
- AnonymousNot applicable
I'm sending exampele. I think this will do the trick :)
https://www.dropbox.com/s/3q085s2i5o7nogu/Data.xlsx?dl=0
tnx, for help
- Ashish_Mathur
Super User