|
Re: Web Viewer Fails to Aggregate [message #1006023 is a reply to message #1005822] |
Tue, 29 January 2013 15:23 |
|
Take the row.__rownum expression out of the aggregation binding. It doesn't mind you using one of the options from the drop down, but it doesn't like that one. With the COUNT aggregation, no expression is necessary.
Michael
Developer Evangelist, Silanis
|
|
|
Re: Web Viewer Fails to Aggregate [message #1006079 is a reply to message #1006023] |
Tue, 29 January 2013 18:49 |
Eric Daly Messages: 11 Registered: January 2013 |
Junior Member |
|
|
That's not intuitive to me, but it works! Thanks!
Any idea why web viewer also ignores filter conditions on my aggregations although it works in preview? I don't have a working example using the sample database, but I can try to whip one up if you want to see an example of how I'm doing it. I'm doing subtotals where a specific String field matches a static string. Maybe there's a problem with string comparisons in web viewer?
[Updated on: Tue, 29 January 2013 19:07] Report message to a moderator
|
|
|
Re: Web Viewer Fails to Aggregate [message #1006084 is a reply to message #1006079] |
Tue, 29 January 2013 19:28 |
|
Yeah, I'm not sure why it has an issue with the row.__rownum expression. Seems kinda buggy, but the workaround is easy enough.
As for the other issue, yeah, if you could create a simple example showing your issue, that'd be great. Then I can see exactly what you're doing because I don't see an issue when I tried it.
Michael
Developer Evangelist, Silanis
|
|
|
Re: Web Viewer Fails to Aggregate [message #1006085 is a reply to message #1006084] |
Tue, 29 January 2013 19:29 |
|
Before you go make an example, though, what is the filter condition you're using? If using dataSetRow["yourField"] == "staticString", try row["yourField"] == "staticString" instead.
Michael
Developer Evangelist, Silanis
|
|
|
|
Re: Web Viewer Fails to Aggregate [message #1006088 is a reply to message #1006087] |
Tue, 29 January 2013 19:56 |
|
Yeah, there should probably be something that notifies you if you use dataSetRow or just take that option out of the expression builder. Either way, glad it's working now! Let us know whenever you have questions! Good luck!
Michael
Developer Evangelist, Silanis
|
|
|
Powered by
FUDForum. Page generated in 0.04588 seconds