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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
ronaldwang
Creator III
Creator III

How to dynamically change certain value only in a list box

  I have load a inline table as below

inline.PNG

 

Then in the list box display the filed as below

  listbox.PNG

 

What I want is that have another button where use can toggle between original and adjustment so that when user select original, the list box will be unchanged, but if the user select adjustment button, some value of the list box will be dynamically changed.

  listbox2.PNG

1 Solution

Accepted Solutions
Sergey_Shuklin
Specialist
Specialist

Hello, Ronald!

If your inline loaded field called fld1 then you can try this:

Go to the ListBox general tab and choose expression instead of field. And use Subfield() and Replace() functions to get some changes in output field values.

For instance:

If(Subfield(fld1,'|',3)='Nov', Null(),

     Replace(fld1, Subfield(fld1,'|',2), 'ActualAdjustment')

)

And of course this condition should have effect only if the User have pressed certain button.

View solution in original post

1 Reply
Sergey_Shuklin
Specialist
Specialist

Hello, Ronald!

If your inline loaded field called fld1 then you can try this:

Go to the ListBox general tab and choose expression instead of field. And use Subfield() and Replace() functions to get some changes in output field values.

For instance:

If(Subfield(fld1,'|',3)='Nov', Null(),

     Replace(fld1, Subfield(fld1,'|',2), 'ActualAdjustment')

)

And of course this condition should have effect only if the User have pressed certain button.