Discussion board where members can get started with Qlik Sense.
Given the following data set I am trying to use Qlik Sense to come up with a formula that can be used in a chart or table that will givem the Number of Discussions for each Month by State based upon the Max Index.
So when it is all said and done I will see
NC 2018-Jan 4
NC 2018-Feb 5
Va 2018-Jan 2
Va 2018-Feb 4
Ca 2018-Jan 2
Ca 2018-Feb 5
I have tried the following but it does not work:
IF(Max(Index), Aggr(Sum(Discussions), [Year_Month],State))
This gets me close but it seems to ignore the IF(Max(Index)) portion and just sums up all the discussions. Can anyone point me in the right direction. Thanks
View solution in original post
May be this
Sum(Aggr(If(Index = Max(TOTAL <State, Year_Month> Index), Discussions), State, Year_Month, Index))
Youssef thanks this worked perfectly I can not believe it was this simple.
Sunny thanks for the formula it did not solve this particular issue for me but I do see another use for it in a seperate application I am working on.
you're welcome good luck