Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
ashishpalkar
Creator III
Creator III

Show Last 18 Months Data

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.

No RLTV_MNTH Time_Period Total Revenue($)Header 4Header 4
PM0

0Apr 2015 $100aq
PM(1)-1Mar 2015 $200aq
PM(2)-2Feb 2015 $100aq
PM(3)-3Jan 2015 $100awq
PM(4)-4Dec 2014 $100aeqe
PM(5)-5Nov 2014 $100aqwe
PM(6)-6Oct 2014 $100qe
PM(7)-7Sep 2014 $100sq
PM(8)-8Aug 2014 $100seqwe
PM(9)-9Jul 2014 $100sq
PM(10)-10Jun 2014 $100seq
PM(11)-11May 2014 $100sweq
PM(12)-12Apr 2014 $100fseq
PM(13)-13Mar 2014 $100ffwe
PM(14)-14Feb 2014 500dqwe
PM(15)-15Jan 2014 600fqe
PM(16)-16Dec 2013 700fqe
PM(17)-17Nov 2013800fq

Required Output Needed

No

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

PM0

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

Pm1

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

Pm2

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

Thanks in advance.

2 Replies
Qrishna
Master
Master

use Crosstab() function.

Or in a pivot table u can pivot the period column.

Provide some sample data.

awhitfield
Partner - Champion
Partner - Champion

Hi Ashish,

a simple pivot chart would do the trick !

HTH - Andy