Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
amithmurali
Partner - Creator II
Partner - Creator II

Multiple columns in to one column and Join

Hi guys, i am having trouble with this data,

   

Units Dept wise Patient countJanFeb
201420152015201420152015
ActualBudgetActualActualBudgetActual
CCJALLERGY CLINIC 000000
PVTALLERGY CLINIC 000000
MDCLGALLERGY CLINIC 153153122151151154

My table is like this. how to work on it to get fields like this "jan 2014 actual" , "jan 2015 Actual , "jan 2015 Budget".

1 Reply
robert_mika
Master III
Master III

Does this help?

LOAD Units,

     F2 as Year,

     F3 as Category,

     CCJ,

     PVT,

     MDCLG

FROM

[https://community.qlik.com/thread/168199]

(html, codepage is 1252, embedded labels, table is @1, filters(

Replace(8, left, StrCnd(null)),

Transpose(),

Remove(Row, Pos(Top, 2))

));

Untitled.png