Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
bnelson111
Creator
Creator

Here's Possibly an Easy Question??

I have three variables created and wish to use a chart with the variables as dimensions as a straight table don't want a pivot. As you can see the variables are doing the correct calculations but the names are adding "other".

qlikview 2.png

Dimension expression below. I know '&' is not the correct operator but how can i get the name just showing 'Other' or 'Setup' or 'Run'

=($(vrrun))&($(vrsetup))&($(vrother))

variable $(vrrun) expression is if( [description]= 'Running', 'Run', )

Any ideas??

Cheers

1 Solution

Accepted Solutions
crusader_
Partner - Specialist
Partner - Specialist

Oh, You've got it  because you set wildmatch()=1.

That means [description] equal 1st expression in the list.

Just change it to >0

Hope this helps.

Andrei

View solution in original post

6 Replies
sudeepkm
Specialist III
Specialist III

can you please post your QVW?

It looks like one of the variables value is Other which is being displayed in all the three variables.

What is the value of $(vrother) ?


Anonymous
Not applicable

Hi Brett, can you post your QVW - it is a bit confusing what you are trying to achieve

crusader_
Partner - Specialist
Partner - Specialist

Hi Brett,

You should define your $vrother variable in the following way:

variable $(vrother) expression is if( wildmatch([description],'Running','Setup')=0, 'Other', '')

Kind regards,

Andrei

bnelson111
Creator
Creator
Author

Sorry was out yesterday couldn't reply out of office. QWV is massive, but below is variables.

qlikview 3.png

Im now getting just setup time not setup plus Colo as per variable the coloum 1 expression should be over 3 hrs not 35mins 33secs. Chart looks like below.

qlikview 4.png

Thanks Brett

crusader_
Partner - Specialist
Partner - Specialist

Oh, You've got it  because you set wildmatch()=1.

That means [description] equal 1st expression in the list.

Just change it to >0

Hope this helps.

Andrei

bnelson111
Creator
Creator
Author

Brilliant Thanks