Wednesday, September 6, 2017

Calculate MOM calculation in chart or table in Qlikview.

If we need to calculate YOY or MOM calculation in Qlikview. We can achieve it by following below steps.


  • If we need MOM revenue, Create a variable for previous month as below.
vPriorMonthYear = Date(addmonths(today(), -1), 'MMM-YYYY')
  • This will give you month-year value for Previous month.
  • In your chart or table expression, please use below formula.

=Sum(num#([Revenue]))- Sum({<[Month Year]={'$(vPriorMonthYear)'},FISCYEAR=,Month=>}Num#([Revenue]))


This will show the MOM value, means current month revenue minus previous month revenue.


thanks,
Shiv Shrotriya 

1 comment:

  1. I feel Qlik alongwith REST are the best utilities to provide some more information about the best utilities to solve complex IT problems.

    Qlik Rest Api Connection

    ReplyDelete