Create an extract field to count the number of unique values from a specific field

I have a csv file that has multiple records for each Project_Owner

The Project_Owner detail is repeated in each record, only the actual Project detail changes.

I don’t want to create a detail extraction step as I want to print a 2 page PDF for every record

How can I create an extract field to calculate the number of unique Project_Owner?

I need this value to split the output into 1, 2, 3 and 4 or more Projects

Go easy, I’m new to this

Hello marrd,

There are a few questions in here so let me try to address them individually.

It sounds like you’re trying to create one record per project, but also generate an output where all the project for a specific owner are placed together. This can be done fairly easily - you can greate boundaries per project in your data mapping configuration, generate your 2-page-per-record output in the Designer module, and then using the Job and Output Presets, sort per project owner, and split between them. One PDF can thus contain all the projects for one owner.

The only thing that’s slightly more difficult, is the “Number of unique project owners”. In DataMapper and Designer, you cannot have access to any records before or after the current one, neither can you “count” the number of records.

However, this can be done through Workflow. It would require a little bit of work with Metadata, using the Level Creation and Field Management tasks, but definitely could be done, especially if you want some sort of report page.

This is unfortunately not “trivial” and requires a certain understanding of metadata. I do have a few how-tos that may help put you on the right track though:

http://learn.objectiflune.com/en-us/planetpress-connect/howto/complement-records-using-metadata
http://learn.objectiflune.com/en-us/planetpress-connect/howto/cover-page-with-data-at-any-level

Cheers,
~Evie

Thanks Evie

You have correctly identified my requirements.

I will give the workflow option a go and come back to you with any further questions.

Cheers