Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Ref YearMonth Receipt
222 2015 -11 0
333 2015 - 12 0
231 2015 - 12 1
156 2015 - 12 1
Please can you give me a FIXED expression for:
COUNT of 'REF'
WHERE 'YearMonth' is current
and 'Receipt' = 1
In this case should the suggestion from tresesco work if you removed the additionally spaces within ' - '. In general it's better to use always real dates in a pure numeric format for all matching and calculations. It enabled for example to compare such YearMonth field with >= or <= which isn't possible with a string like in your sql. Often it is helpful to use a master-calendar for this: How to use - Master-Calendar and Date-Values.
- Marcus
Hi Emma,
Try to execute the formula without date-parameters. If it works, you know it is the data, if not, it may be other things as well.
Count({<Receipt = {1}}>}REF)
Regards,
Johan