Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Is there anything wrong with the following Qlik Sense Expression?
Sum({$<[Fiscal Year]={$(=vMaxFY-1)}, [Fiscal Date]={"<=$(vMaxFiscalDatePY)"}>} [Actual Amt])
I have tested the vMaxFY and vMaxFiscalDatePY and they both return the right values:
I am getting all zeros.When I replace the vMaxFiscalDatePY with the actual date, I get values. Any ideas?
Try this may be -
Sum({$<[Fiscal Year]={$(=vMaxFY-1)}, [Fiscal Date]={"<=$(=chr(39)&vMaxFiscalDatePY&chr(39))"}>} [Actual Amt])
Or
Sum({$<[Fiscal Year]={$(=vMaxFY-1)}, [Fiscal Date]={"<=$(=Date($(vMaxFiscalDatePY)))"}>} [Actual Amt])