Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
ashishpalkar
Creator III
Creator III

Convert rows into Columns

Hi There

I have requirement like below , in below table we can see Time Period. I want to show Time Period as Columns and show respected revenue for that time period.

      

Time_PeriodTotal RevenueIDQV_DateAbcCDE
18 Months May2012-Oct2013114603.95417/31/20152139
Apr-15116.427/31/20152103
Aug-13-3511.7691937/31/20152139
Aug-1428068.8203547/31/20152139
Aug-144.05270620157/31/20152103
Current YTD900067/31/20152139
Current YTD1610077/31/20152139
Current YTD454.1587/31/20152103
Current YTD709.8397/31/20152107
Current YTD347.65107/31/20152103
Dec-14682.2468466117/31/20152103
Dec-1448205.09874127/31/20152139
Feb-148011.51497137/31/20152139
Feb-15375.15147/31/20152103
Jan-1475206.01616157/31/20152139
Jan-159000167/31/20152139
Jan-1579177/31/20152103
Jan-15709.83187/31/20152107
Jul-1341657.78445197/31/20152139
Jul-1410029.85977207/31/20152139
Jul-1477410.45768217/31/20152139
Jun-14223.2450495227/31/20152103
Jun-14100246.3363237/31/20152139
Mar-1488834.30823247/31/20152139
Mar-1516100257/31/20152139
Mar-15231.25267/31/20152103
May-139027.179335277/31/20152139
May-14637.1705961287/31/20152103
May-14100236.0096297/31/20152139
Nov-136016.991937307/31/20152139
Nov-145308.531809317/31/20152107
Nov-14240.5037763327/31/20152103
Oct-139037.446026337/31/20152139
Oct-14630.1156618347/31/20152103
Oct-145017.731422357/31/20152139
Oct-144153.507468367/31/20152107
Oct-14140.3393602377/31/20152103
Prior Full Year630.1156618387/31/20152103
Prior Full Year10029.85977397/31/20152139
Prior Full Year5247.170688407/31/20152103
Prior Full Year692577.941417/31/20152139
Prior Full Year9462.039277427/31/20152107
Q1 20129528.770293437/31/20152109
Q1 20122156.469785447/31/20152109
Q1 2014172051.8394457/31/20152139
Q1 20159000467/31/20152139
Q1 201516100477/31/20152139
Q1 2015454.15487/31/20152103
Q1 2015709.83497/31/20152107
Q1 2015231.25507/31/20152103
Q2 20121653.065077517/31/20152109
Q2 20139027.179335527/31/20152139
Q2 2014200482.3459537/31/20152139
Q2 2014860.4156456547/31/20152103
Q2 2015116.4557/31/20152103
Q3 201396539.32868567/31/20152139
Q3 201410029.85977577/31/20152139
Q3 2014266820.9256587/31/20152139
Q3 20143323.665059597/31/20152103
Q4 201315054.43796607/31/20152139
Q4 2014630.1156618617/31/20152103
Q4 20141063.089983627/31/20152103
Q4 20149462.039277637/31/20152107
Q4 201453222.83016647/31/20152139
Rolling 12 Months5701.320688657/31/20152103
Rolling 12 Months977.7656618667/31/20152103
Rolling 12 Months26129.85977677/31/20152139
Rolling 12 Months10171.86928687/31/20152107
Rolling 12 Months529526.1017697/31/20152139
Rolling 18 Months5701.320688707/31/20152103
Rolling 18 Months977.7656618717/31/20152103
Rolling 18 Months26129.85977727/31/20152139
Rolling 18 Months10171.86928737/31/20152107
Rolling 18 Months707594.933747/31/20152139
Rolling 24 Months5701.320688757/31/20152103
Rolling 24 Months977.7656618767/31/20152103
Rolling 24 Months26129.85977777/31/20152139
Rolling 24 Months822198.887787/31/20152139
Rolling 24 Months10171.86928797/31/20152107
Rolling 36 Months5701.320688807/31/20152103
Rolling 36 Months977.7656618817/31/20152103
Rolling 36 Months26129.85977827/31/20152139
Rolling 36 Months822198.887837/31/20152139
Rolling 36 Months10171.86928847/31/20152107
Sep-1358393.31342857/31/20152139
Sep-143319.612353867/31/20152103
Sep-14161341.6476 7/31/20152139

Required Output Needed

ID

Header 4

Header 5

Total Revenue

Jan 2014

Feb 2014

Mar 2014

Apr 2014

May 2014

Jun 2014

Jul 2014

Aug 2014

Sep 2014

Oct 2014

Nov 2014

Dec 2014

Jan 2015

Feb 2015

Mar 2015

Apr 2015

May 2015

Jun 2015

0

A

www

$6831.07

$4387.76

$2443.31

$0.00

$0.00

$0.00

$0.00

$0.00

$0.00

$0.00

$0.00

$0.00

$0.00

$0.00

$0.00

$0.00

$0.00

$0.00

$0.00

1

Ba

2ad

$390.13

$269.75

$120.38

$0.00

$0.00

$0.00

$0.00

$0.00

$0.00

$0.00

$0.00

$0.00

$0.00

$0.00

$0.00

$0.00

$0.00

$0.00

$0.00

2

ww

assas

$2586.71

$1516.37

$1070.34

$0.00

$0.00

$0.00

$0.00

$0.00

$0.00

$0.00

$0.00

$0.00

$0.00

$0.00

$0.00

$0.00

$0.00

$0.00

$0.00

5 Replies
maximiliano_vel
Partner - Creator III
Partner - Creator III

This you need on LOAD or in Presentation?

With your sample data (large table) the first columns ID, Header4, Header5 where are they come from?

By the way didn't you post this already? Show Last 18 Months Data

Regards

sunny_talwar

I am not sure how you have reached the output from the given data set you have provided above. May be if you can elaborate it a little, someone here might be able to help you better

Best,

Sunny

Anonymous
Not applicable

Hi Ashish,

Could you please post sample app.

Not applicable

Create a Pivot table with ID, Header4 , Header5 & TImePeriod as dimensions & required expressions.

Drag the TimePeriod to top like columns.

awhitfield
Partner - Champion
Partner - Champion

IS this not the same as your other POST? In which case, just use a pivot table

Andy