Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to create a "cross table" type of customer chart with sales by month.

  Customers down the side and sales by month across the top.

  Data file has 3 fields:  1.   Customer 

                                  2.   Date (yyyymmdd)  ;  Might be able to provide date in  ISO format.

                                  3.   $Sales. 

1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

if you got answer, close the thread by selecting correct answer.

View solution in original post

5 Replies
MK_QSL
MVP
MVP

Create a Pivot Table..

Dimension

Customer

Month     //If Month is not there, you can create from Date Field in the script itself..

Expression

SUM(Sales)

Now you can adjust the Month to the Top of the pivot table by drag and drop

Not applicable
Author

Very new to Qlikview.

How are fields created in the script (or elsewhere)?

Need simple examples.

Date is in  "YYYYMMDD"  format  (not  ISO format).

Thank you.

MK_QSL
MVP
MVP

Sales:
Load

Customer,

Date(Date#(DateField,'YYYYMMDD')) as DateField,

Month(Date#(DateField,'YYYYMMDD')) as Month,

Sales

From TableName;


Hope this will help..

Not applicable
Author

Thank you.

MK_QSL
MVP
MVP

if you got answer, close the thread by selecting correct answer.