Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
!Dear Experts,
Please help me below if condition i'm not getting exact Month selection filters
for all the months i'm getting exact same result, please suggest me where im doing wrong
vMonth: =if(len(GetCurrentSelections()),max(MonthYear),MonthStart(Today()))
=if(Date($(vMonth),'MMM YY'), if ((RAG_RATING_CD) = 'R', 'Tier1',
if ((RAG_RATING_CD) = 'A', 'Tier2',
if ((RAG_RATING_CD) = 'G', 'Tier3'))),
if(Date($(vMonth)-10,'MMM YY'), if ((RAG_RATING_CD) = 'R', 'Tier1',
if ((RAG_RATING_CD) = 'A', 'Tier2',
if ((RAG_RATING_CD) = 'G', 'Tier3'))),
if(Date($(vMonth)-50,'MMM YY'), if ((RAG_RATING_CD) = 'R', 'Tier1',
if ((RAG_RATING_CD) = 'A', 'Tier2',
if ((RAG_RATING_CD) = 'G', 'Tier3'))))))
Best Regards,
Niranjan
Hi!
please find attachment!
Hi Digvijay,
i checked with 3 texboxes with the =Date($(vMonth),'MMM YY'),=Date($(vMonth)-10,'MMM YY'),Date($(vMonth)-50,'MMM YY') i got the three different months
when im using same in expression its not working for all the months im getting same result
please refer sample application attached
Best Regards,
Niranjan
I think it is what you need

Hi Tatsiana,
please find the below image Sep'15 i have 7 Tier1's but i got the only one
Can you please check the expression based on month selection its not give exact values
Best Regards,
Niranjan

Hi Tatsiana,
Exactly
May be because your expressions are missing left side of condition expression like =
if(Your date Date = (Date($(vMonth),'MMM YY'),
I don't have licensed version so cannot check the app. ![]()
check app once again!
Wow your rock Tatsiana,
exactly same i am looking for, Can you please tell me how you did this
Thanks a lot
Regards,
Niranjan