Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Friends,
How can i add Serial number based on multiple dimension.
i want to do this on calculated dimension bases in a pivot table.
Awaiting your reply.
Regards
Noman khan
Using the sample attached by joshua (Thanks)
For dimension, you can also use this:
=Aggr(RowNo(), sku)
Right now the RowNo() will be assigned based on load order of sku, but if you are using QV12 and would want to sort sku in a particular order you can sort the sku within the Aggr() function
The sortable Aggr function is finally here!
Hi,
use
=rowno() or rowno(total).
Regards,
Joshua.
Hi,
check this Row Counter in Chart
Am not sure
Do you mean RowNo() and RecNo()?
RecNo( )
Returns an integer for the number of the currently read row of the source data table. The first record is
number 1.
RowNo( )
Returns an integer for the position of the current row in the resulting QlikView internal table. In contrast to
RecNo( ), which counts the records in the raw data table, the RowNo( ) function does not count records that
are excluded by where clauses and is not reset when a raw data table is concatenated to another. The first
row is number 1.
Not working.
i have 3 dimensions
Category , Brand , and SKU..
Category = Perfume
Brand = body spray
= ABC
= XYZ
BODY SPRAY's SKU
SKU =
Hi,
rowno(total) should work for multiple dimensions .
if not provide some sample in excel.
SCENERIO:
i have 3 dimensions
Category , Brand , and SKU..
Category = Perfume
Brand = body spray
= ABC
= XYZ
BODY SPRAY's SKU
SKU =
i want serial no. on SKU based on Brand
Try at script level & create like below,
Load *, autonumber(SKU) as SerialNo resident source;
Create the Expression as
=Rowno(Total)
Hi,
achieved both in exp and script
PFA