Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Vamsy1991
Contributor
Contributor

How to write the condition for to separate Q1 2020 from Submissions of Q1 2020 using subfield

Please help on to separate Q1 2020 from Submissions of Q1 2020 using subfield

Field name = Quarter

Quarter =Submissions of Q1 2020,Submissions of Q2 2020,Submissions of Q3 2020

Labels (1)
6 Replies
PrashantSangle

Try below

right(subfield(Quarter,','),7)

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 🙂
tresesco
MVP
MVP

@Vamsy1991  Try like:

Load Trim(SubField(Trim(SubField(Quarter, ',')), 'of',2)) as Quarter

tresesco_0-1605249506281.png

 

MayilVahanan

Hi @Vamsy1991 
One more method is
=Trim(Mid(Quarter, index(Quarter, 'of')+3))

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

Thanks for your reply

 

 

Vamsy1991
Contributor
Contributor
Author

Thank you tresesco for your reply

Vamsy1991
Contributor
Contributor
Author

Thank you Prashant for your reply