Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
Caulculating Percentage Change in Events
Migrateduser
I current have a report that gives out test details (Total, Passed Failed) and I want to create an extra row that shows the percentage change between tests.<br />
<br />
Currently i have a table with all the data loaded up. I then using the Script Events to load in the appropriate data into two arrays<br />
<br />
<sub class='bbc'>failedTests
= this.getRowData().getColumnValue("PlanResults::FailedTests");<br />
passedTests
= this.getRowData().getColumnValue("PlanResults::PassedTests");<br />
i++;<br />
</sub><br />
<br />
I then have a event in onRender for the same table that calulcates the difference.<br />
<br />
<sub class='bbc'>diff [x] = ((passedTests[x] - passedTests[x+1])/passedTests[x+1])*100 == 0;<br />
x++;</sub><br />
<br />
However when i try to use this data in the report using <VALUE-OF> i just get a blank response.<br />
<br />
Any help would be great.
Find more posts tagged with
Comments
There are no comments yet