[#11061] - Using Variables in Dataset

Category:
General
Priority:
Normal
Status:
Feedback Requested
Project: Severity:
Minor
Resolution:
Open
Component: Reproducibility:
N/A
Assigned to:
0

I have a report with a subdataset. The query is giving me the results that I need, but I want to use some variables to get counts and averages to be used in charts and/or other components.

Every time I try to use a simple counter variable, I get a java.lang.NullPointException error. I think I've tried every combination of Reset and Evaluation Time settings for a single Text Field. Is there something different that I need to do?

To be clear, I'm not trying to pass or return a variable to the main report. I've done that before. I'm just trying to use a subdataset variable in a component that is using the subdataset query. Example: a distinct count of students to be used in a List or Table component.

v6.4.3
jlyons's picture
15
Joined: Jul 30 2015 - 10:43am
Last seen: 6 months 3 weeks ago

1 Comment:

#1
  • Status:New» Feedback Requested
  • Assigned:nobody» chicuslavic

Could you attach a sample report? it's not easy to understand your case.

Feedback