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)
how to compare year?
sumathra
<p>Currently working on the report to compare year by check box...i can able to get value in list box but it cant be compare year so it can be do only by check box but am not familiar with check box and script do to.......</p><p>kindly help if any body have done this before or provide some idea on this..... attaching a report for reference...</p>
Find more posts tagged with
Comments
sumathra
<p>Is there any body have done this before kindly provide some idea on this.....it helpful to do my report......????</p>
GLO_FR
<p>Hi, what kind of BIRT version are you using ? Birt Open Source or BIRT Designer Pro ?</p>
sumathra
<p>[color=rgb(0,0,0);font-family:helvetica, arial, sans-serif;]thanks for u r reply.......Birt Open Source...consider a example that am having a list box.like ..[/color]Classic Car,Plane,Train</p><p>if i select any one from this.....and then i have to compare by year like before last-year,last-year,this-year or All by check box ...how to achieve this....? </p>
sumathra
<p>Any help for this thread???..........</p>
GLO_FR
<p>Hi,</p><p> </p><p>sorry for the late answer.</p><p>I didn't find the right code, the code I have is for the Designer Pro.</p><p>I'm still looking for a version for BOS.</p><p> </p><p>Here is the version I have maybe it can help</p><pre class="_prettyXprint _lang-js">function hideShow(){ var bviewer = this.getViewer(); var bpagecontents = bviewer.getCurrentPageContent(); var btable = bpagecontents.getTableByBookmark("tab"); if (btable == null) return; // unable to get handle to chart in case where chart becomes hidden var filter = new actuate.data.Filter("myYear", "=", 2000); var filters = new Array(); filters.push(filter); btable.setFilters(filters); btable.submit(); }</pre>
bgbaird
<p>Sumathra, is there a reason that you don't just define another list-box string parameter for your choices?</p><p> </p><p>Brian</p>
sumathra
<p>Hi,<strong>GLO_FR</strong>, thank for u r reply..and effort...if u found the example can u able to post here...</p><p> </p><p><strong>bgbaird::</strong></p><p> </p><p>yes...It's client requirement ... can u able to help over this thread... thank u...</p>
sumathra
<p>Is there any up-date of this thread...</p>