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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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
Labels (1)
1 Reply
vishsaggi
Champion III
Champion III

Try this in your load script like

LOAD *,

           SUBFIELD(YEAR, '/') AS Year

From Yourtablename;