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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
pkelly
Specialist
Specialist

List Box Highlight Current Week

Hi...

Hope someone can help me with this...

I have a list box which contains week numbers (caw_Week).

I have a variable which contains the current week number (varWeek).

To assists the user, what I want to do is highlight (not select) the current week in the list.

I have tried mucking around with the calculated font on the list box with no sucess...

Unsure if it is possible to do this or not...

Any assistance greatly appreciated.

Regards

Paul

1 Solution

Accepted Solutions
matt_crowther
Specialist
Specialist

Paul,

Attached is a 'dirty pre-sales' solution that may suit your needs.

I've created it based on a pure date but it still shows the possibilities of using a Straight as a pseudo-listbox - it even lets you add extra info into the mix.

Obviously doesn't behave entirely like a list box but may suit your needs.

With v10 you can add expressions to LB's (much like a Straight Table) so that may be worth a look.

Hope that helps,

Matt - Visual Analytics Ltd

View solution in original post

3 Replies
Not applicable

Hello,

As far as I know we cannot write a expression for a ROW within a list box, and moreover the data is highlighted in QV only when its selected. May be you need a Macro to do this or use the weeks in a chart or somewhere else, where you can add some color code to the CurrentWeek.

ANDY

matt_crowther
Specialist
Specialist

Paul,

Attached is a 'dirty pre-sales' solution that may suit your needs.

I've created it based on a pure date but it still shows the possibilities of using a Straight as a pseudo-listbox - it even lets you add extra info into the mix.

Obviously doesn't behave entirely like a list box but may suit your needs.

With v10 you can add expressions to LB's (much like a Straight Table) so that may be worth a look.

Hope that helps,

Matt - Visual Analytics Ltd

pkelly
Specialist
Specialist
Author

Thanks Matt

Think this will work....