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: 
richard24best
Creator II
Creator II

Extract file name details

Hi All,

I have a requirement to extract all the file names (only the numbers to identify the user id.

All the files are saved by various users with their user id and date

Example - ABC_12345678_17062024

                 XYZJKHJKH_87654321_16062024

How do i retrieve only the numbers from the above files name as an example shown below and called it as Createdby

12345678_17062024

87654321_16062024

Appreciate your time and support in advance.

Regards,

Richard

 

Labels (4)
1 Solution

Accepted Solutions
Lisa_P
Employee
Employee

The Subfield function should work ok.

eg Subfield(ID, '_', 2) as CreatedBy

View solution in original post

2 Replies
Lisa_P
Employee
Employee

The Subfield function should work ok.

eg Subfield(ID, '_', 2) as CreatedBy

richard24best
Creator II
Creator II
Author

Thank you Lisa for your quick help, that worked for me 🙂