I tried selecting for cases in a column but could not succeed in generating the summary. I wonder if you can help me

We need a reproducible example (reprex)

As @ FJCC points out your code is not making sense. There is clearly something we are missing.