Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
stephenedberkg
Creator II
Creator II

Set analysis

i have two calendar one for uploading month and year and another one is forecast month and year

in my dashboard i made uploading month and year as calendar

quessss.png

but the above screen shot values is wrong

quessss.png

each code have some lock period like 1,2,3.

since code CP6426 has lock period as 2 i want the march sales values

i want achieve this without clicking march.

my expression is =sum({<Years={$(=Max(Years))},MonthIDS = {$(=Max(MonthIDS))}>}Sales)

how to write this logic in set analysis

16 Replies
tresesco
MVP
MVP

Not very clear what you are trying to get. Is March your max month? What is it's MonthID number? Could you explain a bit more?

HirisH_V7
Master
Master

Hi,


Can you post your sample app and Required output??

-Hirish

HirisH
“Aspire to Inspire before we Expire!”
stephenedberkg
Creator II
Creator II
Author

not like that when we click jan its should display jan + lock period that is 1+ 2 =3 that is  march

tresesco
MVP
MVP

Try like:

Create a variable like:

vLockPeriod =LockField

=sum({<Years={$(=Max(Years))},Month= {$(=Month(Addmonths(Max(DateField),$(vLockPeriod))))}>}Sales)

Not applicable

sample app

stephenedberkg
Creator II
Creator II
Author

i have the master calendar for both upload and forcast

tresesco
MVP
MVP

All questions to be followed would be answered if you could upload your sample qvw.

stephenedberkg
Creator II
Creator II
Author

i have attach the sample QVW file and excel data.

help me.

stephenedberkg
Creator II
Creator II
Author

i attach the sample qvw file