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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
nizamsha
Specialist II
Specialist II

USING STRING FUNCTION INCREASING OR DECREASING THE LENGTH OF STRING


LOAD * INLINE [
Country
    IND
    AUS
    WI
    NZ
]
;

I need the output in the below format. Without using dual() Function and  use extra field but dont display it in the output.

its sould be in the listbox like this

INDIA

AUSTRALIA

WESTINDIES

NEWZELAND

I USED MID FUNCTION IN MY LISTBOX SO ITS WORKING FINE.. BUT I WANT TO SEE THE COUNTRY IN LISTBOX WITH OUT WRITTING CONDITION IN LISTBOX

I HAVE ATTACHED A QVW FILE

Labels (1)
1 Solution

Accepted Solutions
er_mohit
Master II
Master II

TRY THIS

ADC:

MAPPING LOAD * INLINE [

nO,Country

  1,  IND

   2, AUS

    3,WI

    4,NZ

];

Map COUNTRY using ADC;

LOAD * Inline [

COUNTRY

INDIA

AUSTRALIA

WESTINDIES

NEWZELAND

];

View solution in original post

7 Replies
RedSky001
Partner - Creator III
Partner - Creator III

If you don't want to use an expression in a list box why don't you move the expression into the script to make a new field?  Not sure I understand your question at all in fact.

nizamsha
Specialist II
Specialist II
Author

HI MARK

I TRIED IN THAT TYPE .BUT I WANT IN ANOTHER TYPE

RedSky001
Partner - Creator III
Partner - Creator III

Another type of what? (I don't understand your question, my first response was a guess)

nizamsha
Specialist II
Specialist II
Author

MARK I THINK U WILL UNDERSTAND THIS ONE

THIS IS MY LOAD STATEMENT


LOAD * INLINE [
Country
    IND
    AUS
    WI
    NZ
]
;

I WANT THE OUTPUT LIKE THIS... IN LIST BOX

COUNTRY

INDIA

AUSTRALIA

WESTINDIES

NEWZELAND

HOW CAN I DO THIS..

er_mohit
Master II
Master II

TRY THIS

ADC:

MAPPING LOAD * INLINE [

nO,Country

  1,  IND

   2, AUS

    3,WI

    4,NZ

];

Map COUNTRY using ADC;

LOAD * Inline [

COUNTRY

INDIA

AUSTRALIA

WESTINDIES

NEWZELAND

];

nizamsha
Specialist II
Specialist II
Author

THANKS MOHIT

THATS WORKS PERFECT IS THERE ANY OTHER WAY

er_mohit
Master II
Master II

Yeah using rowno() like this

ADC:

MAPPING LOAD RowNo() as Key, * INLINE [

Country

    IND

    AUS

    WI

    NZ

];

Map COUNTRY using ADC;

LOAD * Inline [

COUNTRY

INDIA

AUSTRALIA

WESTINDIES

NEWZELAND

];