Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
mpfariseni86
Partner - Contributor
Partner - Contributor

How to duplicate records

Good day all,

I have a question. I have a table of unique CaseNo, the Client is providing Year column data separated by a backslash. I am trying to replicate the rows only where the year field is separated by "/ ". I have a requirement to provide a Count of all previous nsi by Year.

I have provided a sample table

Thank you in advance.

Regards

Mpfariseni

CaseNO

Previous NSIPrevious_NSI#YEAR
DD001YES22016/2017
DD002YES22017/2018
DD003YES22009/2011
DD004YES12017
DD005YES12018
DD006YES12016
1 Reply
vishsaggi
Champion III
Champion III

Try this in your load script like

LOAD *,

           SUBFIELD(YEAR, '/') AS Year

From Yourtablename;