Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Dataset Javascript Expression Filter
sradford
Hi,
For a dataset I can create a javascript expression filter that works fine. e.g.
Expression: row["MY_COLUMN"]
Operator: Equal to
Value 1: echo(row["MY_COLUMN"]
Where I have a javascript file with the echo function defined as:
function echo(value) {
return value;
}
All work fine, the filter allowing all rows through, when using the dataset in a table.
HOWEVER, if I use the table as the dataset for the list of values for a Report Parameter ALL rows are filtered out. And if I change the Operator to No Equal to, still ALL rows are filtered out.
If I replace value1 with row["MY_COLUMN"] things work, so appears to me that calling the javascript must be failing.
Is this a BUG? Any ideas on how to get around it? (ultimately my actual filter will be based on attributes in the HTTP Session).
HELP! (thanks in advance)
Sean
Find more posts tagged with
Comments
mwilliams
Hi Sean,
What version of BIRT are you using?