Dear lucky,
if you have a default value equal to 'ALL' in your LOV resultset you can use a syntax like this in the query: where (column=$P{parameter} or $P{parameter}='ALL').
A second solution could be to use the script section available for each Knowage dataset of type query where you can add Javascript or Groovy code.
I hope this will answer to your question, if not please answer again.