I have a list and add only the values which are > 0 with:
Total[Cases[mylist, x_ /; x > 0]]
How to do this if I now have a list of sublists?
Map[Total[Cases[???, x_ /; x > 0]], mylistoflists]
I tried to use
# (to reference the actual sublist) which doesn't work. I tried
## (to reference all values of the actual sublist) which doesn't work.
So, how can I reference the actual list while iterating over all sublists?