Forum Discussion
Countifs in powerbi?
- Anonymous8 years ago
This is what I was looking for:
=
CALCULATE (
COUNTROWS ( DataDump1 ),
FILTER (
DataDump1,
DataDump1[languagePair] = EARLIER ( DataDump1[LanguagePair] )
),
FILTER (
DataDump1,
DataDump1[Subject Matter] = EARLIER ( DataDump1[Subject Matter] )
)
)
Thank you for your response, however this didn't return the correct result.
I am looking for something like this, if row 1 has the vendor name of A+ Global Solutions and the language pair is chinese (China) -> English (United States) and the subject matter is IP- Non-Patent. Then I am looking for a formula to look through all the data and return how many times that combination is present in the data.
Can you provide a formula to calculate that? I am new to DAX and would really appreciate it!
Hi Anonymous,
Did Zubair_Muhammad's solution work? You need to use it in a visual?
Best Regards,
Dale
- Anonymous8 years agoNot applicable
No, it didn't work for me. I was able to find a different solution. Thanks for looking into this for me! I really appreciate.