Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Check box option in Input Box

Hi

I have browsed through a lot of similar queries and am not finding exactly what I need. I currently have an input box with a lot of Yes/No options for showing fields in a chart, I have about 10 or sometimes more fields that are available to be added as dimensions on a chart working with variable example vShowName with two values Y/N.

Is there a way of doing this with check boxes inside the input box, or are there better options. Like I said before we have quite a number of these setup so it is not just one or two of them. I have also thought about using a list box for each with only one check box which can be highlighted for a yes value, but I am not sure how to make this a variable to use for a dimension

1 Solution

Accepted Solutions
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Have a look at the whats new in QlikView 11.qvw file.

Go to "Report" Tab and see if you are looking something like that.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!

View solution in original post

12 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Have a look at the whats new in QlikView 11.qvw file.

Go to "Report" Tab and see if you are looking something like that.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Digvijay_Singh

You can have buttons controlling your variables like attached.

Digvijay_Singh

This is really great stuff, thanks for sharing!

Not applicable
Author

Thanks Kaushik. I sort of understand whet is being shown there but it I copy it into my model nothing seems to happen.

I created

AdhocDimensions:

LOAD * INLINE [_dimension

AccountStatus

AccountType

Agent

Attorney

Collectors

DebtorIndex

DebtorType

OwnerType

ServiceGroup

Township

Ward

IndigentStatus

];

//Dimensions

TAG FIELDS AccountStatus , $Dimension;

TAG FIELDS AccountType , $Dimension;

TAG FIELDS Agent , $Dimension;

TAG FIELDS Attorney , $Dimension;

TAG FIELDS DebtorIndex , $Dimension;

TAG FIELDS OwnerType , $Dimension;

TAG FIELDS ServiceGroup , $Dimension;

TAG FIELDS Township , $Dimension;

TAG FIELDS Ward , $Dimension;

TAG FIELDS IndigentStatus, $Dimension;

and then added Conditional Coding to the dimension, example

=SubStringCount(Concat(_dimension, '|'), 'AccountStatus')

Maybe I am just doing something stupid here or I am missing something someshere

Please help

Not applicable
Author

Nice idea but I have too many of the fields, cannot afford a box for each field. I would prefer somewith with an LED Option

Not applicable
Author

Kaushik, please help me understand the coding in what's new in Qlikview 11 so I can try toimplement the sam. I copied in what I tried but it's not really working

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

The application contains the script work as well as some conditional options in charts.

I guess you have done the script part, now look in to the application for that chart and look for its property, under the property look at the dimension tab. You will find that all the dimensions are listed here and when you click on the dimension, you will find the enable condition option. This is the place where the conditions are written. Try to understand the condition statements and try to implement in your application.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Not applicable
Author

This is really helpful. I used this and it's working great.Now I have the issues of how to add a default value if one is not selected. I do not want Qlikview to stage select a dimension. I for example want the first dimension to be the default value

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

You can use the conditional statement like If statement to check if any dimension is selected, if not then you can give a default dimension.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!