Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
where we use Dual funtion???
Take a look below example for sorting purpose i used dual function,
load *,
if(AGE>=0 and AGE<=5,Dual('0-5',1),
if(AGE>=6 and AGE<=10,Dual('6-10',2),
if(AGE>=11 and AGE<=15,Dual('11-15',3),
if(AGE>=16 and AGE<=20,Dual('16-20',4),
))) as AGE_GROUP
real time use of Dual(Text,Number) is when we want to manipulate output based on need.
For example,
In bar chart, i want to manipulate hover values.
Like Dual('Current Year Sales is '&sum(Sales),sum(Sales))
Might this clear your doubt.
Hi Arja,
dual function is typically used early in the script, before other data is read into the field concerned, in order to create that first string representation, which will be shown in list boxes etc. Qlikview has specific way of storing data. Each field is represented by Text and Number data type called dual
Syntax:
Dual(text, number);
Thanks,
Arvind Patil
Where we use dual function in section access? Please provide scenario.
Arja,
why would you want to use DUAL in section access?
Marcus
Based on your activity, I assume that you are preparing for an interview. All questions are open ended also you didnt mark any answer as correct.
Recommending you learn qlikview and then try asking questions on what it is.