Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Expression issue

Hi

I have a plot-chart with 2 dimensions :   MONTH  ,  YEAR

and one expression  :      Sum(   Value) 

My objective is to change the expression to transform it in an index as

Sum( Value) /  Sum(  the value of first month) 

How to write the denominator taking account the first month for each years in my expressions

Thanks for your help

JJ

1 Solution

Accepted Solutions
CELAMBARASAN
Partner - Champion
Partner - Champion

Try something like

Sum(Value)/Sum(TOTAL <YEAR> {<Month={'Jan'}>} Value)

View solution in original post

5 Replies
CELAMBARASAN
Partner - Champion
Partner - Champion

Try something like

Sum(Value)/Sum(TOTAL <YEAR> {<Month={'Jan'}>} Value)

Not applicable
Author

Thanks Cel

What about if my first month is not Jan ?

JJ

CELAMBARASAN
Partner - Champion
Partner - Champion

You mean it differs for every year?

Not applicable
Author

Yep! Thanks for tour effort

swuehl
MVP
MVP

Have you tried already with the chart inter record functions, namely top()?