Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Nagaraj6
Contributor II
Contributor II

Extracting data from URL

Hello All,

I need a help

1)/holidays/india-tour-packages/cordelia-cruise-tour-packages/cordelia-cruises-mumbai-high-seas-cochin?pkgId=_cordelia cruise_CITY_0?destTag=Kerala

2)/holidays/india-tour-packages/rajasthan-tour-packages

condition:I want  india-tour-packages only in that extract the Destination .

Expected Output:cordelia-cruise

                            rajasthan

 I am using this formula not working :

SubField(Match([Page URL],'india-tour-packages'), '/', 4) as Dest,

Labels (1)
3 Replies
justISO
Specialist
Specialist

Hi, how about something like this:

replace( SubField([Page URL], '/', 4) , '-tour-packages' ,'') as Dest

Nagaraj6
Contributor II
Contributor II
Author

@justISO  Thank You!! It's Working.👍

MayilVahanan

Try like below

=TextBetween([Page URL],'/', '-tour', 3)

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.