Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to add a new calculated column?

H,

I'm new to qlikview, can any one tell me how to add a new calculated column from the table.

Ex. Table has 2 columns, month & revenue. I need to add a new calculated column to calculate MOM comparison.(Current month revenue - previous month revenue)

Rgds,
Deepak

2 Replies
Miguel_Angel_Baeyens

Hello Deepak,

Depending on what chart are you creating, you may use the inter-record functions, referring MOM as, say your expression is named "Revenue", dimension "Month" is displayed horizontally on the top

[Revenue] - before([Revenue])


as expression.

Regards

johnw
Champion III
Champion III

A more complicated but I believe more robust solution is to add an extra data table that connects a given AsOfMonth to both the current Month and the previous Month. The attached example does similar, in this case comparing to data from 12 months ago instead of the previous month, but how to adjust it should be fairly obvious once you understand what the example is doing.