Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
mattbrain
Contributor
Contributor

CrossTab Style Chart

Hi everyone

Would really appreciate help with this if possible.

Have a QVD file that contains all stock codes, day of week total (every Monday shown), and quantity sold.

The QVD looks something like this:

   

StockCodeWeekCreatedQty Sold
Code118/05/20151
Code111/05/20152
Code104/05/20153
Code127/04/20154
Code218/05/201510
Code211/05/201511
Code204/05/201512
Code227/04/201513
Code318/05/201520
Code311/05/201521
Code304/05/201522
Code327/04/201523
Code418/05/201530
Code411/05/201531
Code404/05/201532
Code427/04/201533

I am trying to turn this into a horizontal straight table, that will look like this.

The stock code (Code1, Code2 etc) will be listed in the first column, the week created will be in the column header, with the QtySold then in the individual cells:

  

                Qty Sold Chart
    18/05/201511/05/201504/05/201527/04/2015
Code11102030
Code22112131
Code33122232
Code44132333

Can anyone offer any advise with this? Thanks

4 Replies
sunny_talwar

You can use a Pivot table to do what you are trying to do.

sunny_talwar

This?

Capture.PNG

See the attached qvw file for reference.

Best,

Sunny

mattbrain
Contributor
Contributor
Author

Hi Sunny

Absolutely fantastic, works perfectly. Thank you so much

sunny_talwar

No problem Matt

Glad I was able to help.

Best,

Sunny