Hi everbody.
I've a question to ask. I've create custom report UI using Pentaho CDF, I use checkbox to get value that user choose in checkbox for comparison.
The value inside the checkbox is month name:
January February March April Jun
Julai August September November December
In normal SQL statement we will use IN syntax like this:
where month_name in ('January','February','March')
In Report Designer my SQL look like this:
WHERE
month_name in (${month_name})
The problem is when I choose more than 1 month, the report is empty and not show the data. If I choose only 1 month, the report will show up the data.
How to solve this problem?
I've a question to ask. I've create custom report UI using Pentaho CDF, I use checkbox to get value that user choose in checkbox for comparison.
The value inside the checkbox is month name:
January February March April Jun
Julai August September November December
In normal SQL statement we will use IN syntax like this:
where month_name in ('January','February','March')
In Report Designer my SQL look like this:
WHERE
month_name in (${month_name})
The problem is when I choose more than 1 month, the report is empty and not show the data. If I choose only 1 month, the report will show up the data.
How to solve this problem?