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)
Hide a row
RiRo
Hello
I have two rows and in each, a chart is embedded.
One for temperature another for humidity.
In the property editor under Visibility I have create an expression
to hide the temperature chart if the values from humidity are displayed
and reciprocal.
Here I use the following expression, which works fine, but on the end of the report I get an error message
if (row["Type"] == "Temperature")
blnVisibility = true;
This is the error message
The following items have errors:
ReportDesign (id = 1):
+ The following visibility expression does not evaluate to a legal boolean value: if (row["Type"] == "Temperature")
blnVisibility = true;
Do you have any ideas why this happens or maybe is there a better way to hide charts ?
Thanks
Rob
Find more posts tagged with
Comments
mwilliams
Hi Rob,
If I'm understanding correctly what you did, you should just be able to remove the "blnVisibility = " part and just put the "true" part.
cypherdj
Or simply <br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
row["Type"] == "Temperature"
</pre>
RiRo
Thanks this works
Rob