excel - ALL except filter set in column header -


a complete newbie powerpivot here. have calculated column count number of distinct rows this:

=countrows(     distinct(         data[chain]     ) ) 

however not take account filters manually applied in column's header. have 11 chains, , if filter out except 2 want column's value 2 instead of 11. how can achieve in powerpivot?

thanks in advance!

you have add measure. add bottom part, , work.

enter image description here


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -