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

Calculated (value List) dimention label issue

Hello All,

I have a calculated dimention as say

=ValueList('India','United States')

I want to label my expression as their ccy as

So I have written simple expression in label part as,

=if( ValueList('India','United States','Japan') = 'India' , 'INR' , 'USD')

But it does not Show correct results, it always shows else part. Is there anything else we need to do here.

Thanks for your suggestions.

5 Replies
lironbaram
Partner - Master III
Partner - Master III

i am not sure i understood you but

the lablel of a column is one for all value so what happens

is that qlikview calculate the label with all the values so it can only bring back one value

so in the label expression your equation looks like if(india,us,japan=india then, else) this will allways get the else result

Not applicable
Author

What I mean is,  I have Chart table like,

          India |  US 

Label->    CCY

2010    1.1   | 6.3

2011     2.3  |  7.8

Country dimention is also ValueList('India','US')

I want to add label to my expression  as CCY which is  if( valuelist ('India','US') ='India','INR','USD')

to get output,

          India | US

          INR  USD

2010     1.1 | 6.3

2011     2.3 | 7.8

Is it possible?

lironbaram
Partner - Master III
Partner - Master III

can you post sample data?

Not applicable
Author

Attaching Sample File..

lironbaram
Partner - Master III
Partner - Master III

hi

as to my knowledge , i don't think you can achive what you want

i like  iwrote in the first respond , the expression label is calulated document wise, i.e one result to all dimensions

values,

wht you can do is in your value list to write india- 'INR' , USA-US