I am building a Dashboard using Pentaho CDE, in which a table will show data from a query like this :
select * from types where id = ${id}
Now i get the id from url parameter like this
id = Dashboards.getQueryParameter('id');
If I dont give the id in url, the table shows nothing as id='' doesn't match anything. But what I want to do is, if I dont give id it will exclude the where clause and show a result of query like
select * from types
How to achieve this in pentaho CDE ?