Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Could someone please help me understand and translate an Excel formula to DAX solution?
=COUNTIFS($D:$D,"",$A:$A,"<>",$B:$B,"<>",$C:$C,"")
I tried doing it in bits to understand and this is what I got...
=COUNTIF($D:$D,"") = 1048573 (or the cells from excel that are blank)
=COUNTIF($A:$A,"<>") = 4
=COUNTIF($B:$B,"<>") = 4
=COUNTIF($C:$C,"") = 1048571 (or the cells from excel that are blank)
Now to put it together =COUNTIFS($D:$D,"",$A:$A,"<>",$B:$B,"<>",$C:$C,""), the result from my understanding would be 2 since it already has trimmed down the statements... (but the result was 0!)
I translated this to DAX in the hopes that I could get a sense of it, but the result was blank..
Approval = CALCULATE (
COUNTROWS ('Excel'),
FILTER (
'Excel',
'Excel (A).[Date] <> 'Excel (A).[Date]
&& 'Excel (B).[Date] <> 'Excel (B).[Date]
&& 'Excel (C) = Blank()
)
)
COUNTROWS (
FILTER (
'Excel',
NOT(ISBLANK('Excel'[A]))
&&NOT(ISBLANK('Excel'[B]))
&& ISBLANK('Excel'[C])
&& ISBLANK('Excel'[D])
))
I understand C & D as "ISBLANK", but I am not sure with A & B as they are looking for the Distinct values. I am just not sure how to translate this to a DAX function..
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
8 | |
8 | |
7 |
User | Count |
---|---|
13 | |
12 | |
11 | |
11 | |
8 |