Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Split part in Qlikview

Hi,

I have data something like keerthi(3222).

I need to display Keerthi and 3222 separately.

Please help me with this

Thanks,

Keerthi KS

1 Solution

Accepted Solutions
sasiparupudi1
Master III
Master III

Hi Keerthi

Please see if this helps?

Regards

Sasi

View solution in original post

28 Replies
MayilVahanan

Hi

Try like this

SubField('keerthi(3222)','(',1)

SubField(FieldName,'(',1)

TextBetween('keerthi(3222)','(',')')

TextBetween(FieldName,'(',')')

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

Hi,

There is various ways to acheive it.

one way is already suggested by Ralf

another can be

Purgechar(fieldName,'()0123456789') as field1

KeepChar(Purgechar(fieldName,'()'),'0123456789') as field2

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
jagan
Luminary Alumni
Luminary Alumni

Hi,

You can use SubField() and TextBetween() for this, do this in script for better performance

SubField('keerthi(3222)','(',1)

TextBetween('keerthi(3222)','(',')')

Hope this helps you.

Regards,

Jagan.

Not applicable
Author

Hi Jagan,

I have Fiscal Year 2015-16 which should be displayed as a Label for some amount.

There are other Fiscal Years like 2010-11, 2011-12 etc.

By default it should display the latest Fiscal Year i.e 2015-16

Not applicable
Author

What if my data is something like Keerthi (Raj) & Kumar (Raj) (2345)

I need to display Keerthi (Raj) & Kumar (Raj) and 2345.

Basically at the there is a number within (  ). I need only that sepaartely

PrashantSangle

Hi,

Try

max(Fiscal_Year)

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Not applicable
Author

I tried with Max it shows '-'. Because Fiscal year is something like 2015-16 not a number

sasiparupudi1
Master III
Master III

try maxstring(Fiscal_Year)