Forum Discussion
saumitra
5 years agoHelper I
CountIFS With Multiple Criterion
Hi All, I want to use the CountIfs formula of Excel in Power BI for 3 criterias, which are Name, Company Name and Date. However, I am unable to do so in Power BI. I am using the following formula ...
amitchandak
5 years agoSuper User
saumitra , Create three columns like
countif= countx(filter(Table, [name] =earlier([name]) && [company] =earlier([company] && [Date] <=earlier([Date])), [name])
HC = if([countif] <=1,1,0)
HC1 = divide([HC],Sumx(filter(Table, [name] =earlier([name])), [HC]))
- saumitra5 years agoHelper I
Hi Amit,
Tried what you said but getting this error. Correct me if possible.
Thanks!