Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am using below expression for a count calculation, i have not missed any ')' and expression is working on some filters and throwing 'Error in expression ')' in some cases, no idea on which basis
Here is the expression
Count(distinct if(Year=$(vLastYear) and Date <= $(vLastYTD) and (SubFlag = 'Custom_Req' or SubFlag = 'Terminal_Req') and Flag_Filter = '0',VOYAGE_KEY1))
Any suggestions please?
Thanks,
Hi,
Try this.
=Count(distinct if(Year=$(vLastYear) and Date <= '$(vLastYTD)' and
(SubFlag = 'Custom_Req' or SubFlag = 'Terminal_Req') and Flag_Filter = '0',VOYAGE_KEY1))
Hi,
can you try with Set Analysis:
=Count(
{<Year={'$(vLastYear) '},Date={"<$(vLastYTD)"},SubFlag ={'Custom_Req','Terminal_Req'},Flag_Filter ={0}>}
Distinct VOYAGE_KEY1)
Thanks,
Mohammed Mukram
Tried, it does not consider Date after applying and give full Year count, also after applying that error is still coming.
Hi,
can you attach sample file.