on 05-29-2007 4:18 PM
I have created an xMII service that combines the results of 2 separate queries. When this runs (i have a debug view of the data) I recieve several records and then a subtotal record that starts with ---. Neither of the queries that are used in this transaction have subtotal records in them (the only records that show are the subtotals). I wish to eliminate these subtotal records altogether.
Please let me know if I am missing something in my configuration.
Thanks,
Larry McGahee
I was able to eliminate them in my lookup by eliminating anything with the --- in the column.
Thanks for your help!!!
Larry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi larry
Is all that processing needed at all , can't a UNION block do the job as desired.
regards,
Rajeev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Larry,
Can you please elaborate on your scenario?
If not from the queries, where is the subtotal record being generated?
Thanks,
Michael Teti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Larry,
How are you combining the 2 queries? My guess is that the subtotal records are coming from one of the action blocks in the transaction.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My transaction starts with 2 queries executing at the top level. I then have a pair of crosstab actions that have the keys from each of the queries defined. I then use the Joiner action to join the data from each query. I then have a calculation action to calculate a new column. After that I have my document and repeater for filling out the document.
I am not sure which action is inserting the subtotal, but do know that the queries do not by themselves.
I appreciate your help!
Larry
Larry,
The CrossTab action blocks are adding the DrilldownDepth columns and the subtotal rows.
Since your current output is in IllumDoc format you should be able to eliminate the extra rows with a GenericSortFilter and eliminate the rows where the columns are not equal to "---".
Regards,
Jeremy Good
User | Count |
---|---|
10 | |
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.