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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
zwyne
Creator
Creator

String Manipulation

Hello everyone,PFA,

Hello everyone,PFA,

I would like create a create another column called Country from the column Assessment. My expected result is 

AssessmentCountry
AGLB - NBC Tanzania - CANBC Tanzania
AGLB - Ghana - CAGhana
AGLB - Kenya - CAKenya
AGLB - Mauritius - CAMauritius
AGLB - Tanzania - CATanzania
Labels (1)
2 Replies
m_woolf
Master II
Master II

=subfield(Assessment,' - ',2) as Country

j_puri_6601
Contributor II
Contributor II

=subfield(subfield(Assessment,' - ',2),' - ',1) as Country