Forum Discussion
SN1900
6 years agoFrequent Visitor
count if function
Hi all,
I want to build a Count if function in Power BI but I am struggling a little bit as I do not find the correct formular.
I have a column named ("Time Window Performance") which categories the whole "table1" into "Delivered on Agreed time" "too early" and "too late".
Now I want to count only the categorie "Delivered on Agreed time".
In Excel it would be.
=Countif( Time Window Performance = "delivered on agreed Time")
Thanks and best regards
1 Reply
- AnonymousNot applicable
You can do it as below:
TableName count = COUNTROWS( 'TableName', FILTER( 'TableName', TableName[Time Window Performance] = "delivered on agreed Time" ) )
Thanks.