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: 
Not applicable

How to add mathematical function ??

I have sales of 12 months but in different columns and I want to add them all in a column as Month and also wants to perform the sum of sales of that. So how can I perform ??

mnth.JPG

This is current data and wants to make chart as like this :-

sales.JPG

10 Replies
Anonymous
Not applicable
Author

Hi

You can use the cross table concept for this

Like this

[Month Sales]:

CrossTable(Month, Sales)

LOAD Department,

     Jan,

     Feb,

     Mar,

     Apr,

     May,

     Jun,

     Jul,

     Aug,

     Sep,

     Oct,

     Nov,

     Dec

FROM

[Data Files\Excel\cross table.xlsx]

(ooxml, embedded labels, table is Sheet1);

Anonymous
Not applicable
Author


Select the Line chart and

Dimension is  Month

Expression is   Sum(Sales)

Not applicable
Author

Thanks to u all..

But I want to use without CROSS TABLE. Is any method without Cross table ????

Anonymous
Not applicable
Author

Hi

try with the Pivot table

Dimension is  Month

Expression is   Sum(Sales)

after finish the chart  drag the month to upwards...

Not applicable
Author

Thanks..

But I want to make a line chart,, So plz suggest for that..

Anonymous
Not applicable
Author

Take line char and add

Dimension is  Month

Expression is   Sum(Sales)

MarcoWedel

Why don't you want to use a crosstable load?

Not applicable
Author

Thanks to u all.. We cant use this without Cross Table..

If anyone know how to do it without Cross Table then plz tell me..

Thanks again.

alkesh_sharma
Creator III
Creator III

USe crosstable function