Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
jduluc12
Creator
Creator

Pivot tabel issue

Hi,

My data set looks like this

Main:

IDName
1ABC
2DEF
3GHI
4JKL

Aux:

IDID-1
14
23
32
41

Now I need to build a pivot like this:

IDID-1Name
14JKL
23GHI
32DEF
41ABC

is it possible?

Thanks,

Jean

7 Replies
prma7799
Master III
Master III

Like this??

Main:

LOAD ID as IDD,

     Name

FROM

[279199.xlsx]

(ooxml, embedded labels, table is Sheet1);

Right join (Main)

Aux:

LOAD ID ,  

     [ID-1] as IDD

FROM

[279199.xlsx]

(ooxml, embedded labels, table is Sheet2);

jduluc12
Creator
Creator
Author

Thanks P M but i can not change the load script.

prma7799
Master III
Master III

You want to achieve this in front end only ???

jduluc12
Creator
Creator
Author

yes

tresesco
MVP
MVP

Try like:

Above( ID,-NoOfRows()+ 2*RowNo()-1)

Above( Name,-NoOfRows()+ 2*RowNo()-1)

Capture.JPG

prma7799
Master III
Master III

Hi tresesco‌,

Can you please explain that how you apply logic for this and how this functions will works.

Thanks & Regards

PM

tresesco
MVP
MVP

Above() with negative offset works like below(). Rest is simple math and row reference idea.