Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Table Visibility when row data is null
EricHougen
I want to make a table not visible when the row data is null. I used the expression builder in table visibility with the following script: if (row["notes"] = null) {true} and I still get the table, even when the row data is null. Can anyone offer any suggestions?
<table id="202">
<property name="dataSet">note</property>
<list-property name="visibility">
<structure>
<property name="format">all</property>
<expression name="valueExpr" type="javascript">if (row["notes"] = null) {true}</expression>
</structure>
Find more posts tagged with
Comments
johnw
http://digiassn.blogspot.com/2007/03/birt-hide-report-table-when-no-data-is.html
This will show you how to hide a table if there is no data.
EricHougen
thanks, I sorted through the post and boiled it down to if(Total.count() <1){true}