Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Data Validation with Hierarchical Mapper

I have several million EDI records that I'm mapping to flat files, and I'm having trouble getting the data validation in the Hierarchical Mapper to work. We are only interested in records that have the RecordType segment = P (Production), so I created a rule in the Validate tab of the Mapper saying that RecordType must equal 30. When I run the job, it flags any invalid records, but it still processes them and includes them in the output, which isn't what I want. I've tried using the ValidateGroup and ValidationReport functions, but the documentation on them isn't clear, and my job either didn't compile, or it didn't make any difference. How can I exclude invalid records so that the Mapper doesn't include them in its output? Thanks.

Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi,

 

Why don't you just filter at loop level ?

 

Could you upload your map and a test input file ?

 

Eric

View solution in original post

2 Replies
Anonymous
Not applicable
Author

Hi,

 

Why don't you just filter at loop level ?

 

Could you upload your map and a test input file ?

 

Eric

Anonymous
Not applicable
Author

I didn't think about using a filter, but that worked. Thanks!