This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi all,
I need to create a measure from a single table "Pols Outcome", that provides me with what I believe is a countif, but I can't quite figure it out by videos. I need a single measure that gives me the total rows in "AP", excluding the values that are 0 in AP, whilst also not counting rows in "Canx/Void" with "Void" as a value.
In Excel this is a simple countifs formula =COUNTIFS('Pols Outcome'!F:F,"<>Void",'Pols Outcome'!M:M,">0").
If anyone could help me here it'd be greatly appreciated!
Kind reagrds,
Jordan
Solved! Go to Solution.
Hi,
Try this measure
=CALCULATE(COUNTROWS('Pols Outcome'),'Pols Outcome'[Canx/Void]<>"Void"&&'Pols Outcome'[AP]>0)
Hope this helps.
Hi,
Try this measure
=CALCULATE(COUNTROWS('Pols Outcome'),'Pols Outcome'[Canx/Void]<>"Void"&&'Pols Outcome'[AP]>0)
Hope this helps.
You are welcome.
No luck unfortunately!
Hi,
Replace the && with a ,
@Anonymous , try like. add remove filter as per need. If you want to use OR use ||
countx(filter(table,table[Canx/Void]<>"void" && table[AP] <> 0),table[AP])
OR
calculate(countrows(filter(table,table[Canx/Void]<>"void" && table[AP] <> 0)))
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 25 | |
| 22 | |
| 21 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 42 | |
| 41 | |
| 40 | |
| 21 | |
| 20 |