![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a single flat file of records imported from a tab-delimited conversion of some records from an outside system. Each of the original records has a unique id but potentially has multiple subject elements. The records came to me in Excel as a series of rows: ID subject 1 a 1 b 1 c 2 b 2 d etc... I have a subsummary that lists the unique values used in a subject field (subject), followed by a count (s_count) of the number of instances for each of those unique terms. This works fine. BUT, what I would also like to do is count how many unique terms exist in the entire database or in a subset of records. I created a total field (s_total) that does a count on subject and put that in a trailing grand summary, but it gives me the total number of subjects, not a count of the unique subjects. How might I do this? Can I do this? I am afraid that I might need the rethink the import and somehow create two related tables, but I am not entirely certain how to break up the import and retain the relationships. |
#3
| |||
| |||
|
|
Try simply putting a copy of the the 's_count' field in the Trailing Grand Summary part - it should then give you the sub-totals you're already getting followed at the end by the Trailing Grand Summary with an overall total. |
#4
| |||
| |||
|
|
Helpful Harry <helpful_harry (AT) nom (DOT) de.plume.com> wrote: Try simply putting a copy of the the 's_count' field in the Trailing Grand Summary part - it should then give you the sub-totals you're already getting followed at the end by the Trailing Grand Summary with an overall total. And how can you access this value from the grand summary in a script? So far I've only managed to export in preview mode and re-load in a separate global as per import. Something tells me I must be missing something. ard |
#5
| |||
| |||
|
|
Helpful Harry <helpful_harry (AT) nom (DOT) de.plume.com> wrote: Try simply putting a copy of the the 's_count' field in the Trailing Grand Summary part - it should then give you the sub-totals you're already getting followed at the end by the Trailing Grand Summary with an overall total. And how can you access this value from the grand summary in a script? So far I've only managed to export in preview mode and re-load in a separate global as per import. Something tells me I must be missing something. |
#6
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |