Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
nishanthi_8
Creator
Creator

Cross table transformation

LOAD ID,

     DATE,

     CUM_DATE,

     KPI_NAME, 

     DIFFERENCE_VALUE,

     MAX_VALUE,

     MIN_VALUE

FROM

[path]

how to transform form kpi name upto min values in the form of columns using cross table?

2 Replies
Anonymous
Not applicable

Crosstable (<columnname>,<valuecolumn name>,2)

LOAD ID,

     DATE,

     CUM_DATE,

     KPI_NAME,

     DIFFERENCE_VALUE,

     MAX_VALUE,

     MIN_VALUE

FROM

[path].

2 is the number you specify to say qlikview to keep those number of columns and start pivoting.

rahulpawarb
Specialist III
Specialist III

Hello Nishanthi,

Please refer below sample script:

Table:

CrossTable(KPI_NAME, KPI_VALUE, 3)

LOAD ID,

     DATE,

     CUM_DATE,

     KPI_NAME,

     DIFFERENCE_VALUE,

     MAX_VALUE,

     MIN_VALUE

FROM

[path]

Hope this will be of help.

Regards!

Rahul