Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All
I am new to QlikView, I am trying to set the contents of a field into a variable and use that variable to derive another field.
The problem is that I need to use information from 2 different tables to create a new table but RESIDENT can only be used once.
Any suggestions will be greatly appreciated!
Thanks
Vaneshan Naidoo
Hi Vaneshan,
Can you elaborate your requirement with an example?
Thanks
Sabal
Hi Sabal
Sure.
I have this scenario :
REVENUE:
load
'Month' as gatype,
[Device],
DSlice1 as DateSlice,
sum([Revenue]) as Revenue,
count(distinct idOrder) as OrderCount,
count(distinct idCustomer) as BuyerCount,
count(distinct if(DSlice1 = NewInYM,idCustomer)) as NewBuyerCount
resident TMP
group by Device, DSlice1;
I would like yo store the field "Revenue" into a variable call vRev.
Can this be done?
Hi Vaneshan,
Firstly you can store only single value in a variable.
Secondly what is your requirement to store Revenue value into a variable?
Thanks
Sabal
Hi Sabal
Thanks I solved my problem in the front end of QlikView.
Great