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
Aggregate Field Displaying FieldID
Migrateduser
<p>I am trying to figure out why the fieldID of the aggregate field is displaying when no data is populated?</p>
<p> </p>
<p>Example:</p>
<p> Page #: 2</p>
<p> </p>
<p>ID Example1 Example2 Example3 Example4 Example5 Example6</p>
<p> Count Amount Count Amount Count Amount Count Amount Count Amount Count Amount</p>
<p>
Grand totals: Aggregation_20 Aggregation_15 Aggregation_16 Aggregation_17 Aggregation Aggregation_19 Aggregation_14 Aggregation_11 Aggregation_2 Aggregation_3 Aggregation_13 Aggregation_1</p>
<p> </p>
<p> </p>
<p>Don't understand why this is happening. Does anyone know how to suppress this? I have tried putting the following in the onPrepare of each field:</p>
<p> </p>
<p><b>if</b></p>
<p> </p>
<p> </p>
<p>(<b>this</b>.getValue()==<b>null</b>) {</p>
<p><b>this</b>.setDisplayValue("0");</p>
<p>}</p>
<p> </p>
<p>but it does not work. If I just say setDisplayValue("0") with no if condition...it puts a "0" into the field. I also tried to add an "&& this.getValue().isEmpty()" to the if but no good.</p>
<p> </p>
<p> </p>
Find more posts tagged with
Comments
There are no comments yet