I have a table with a date dimension which shows me the cash receipt date. To compare the first 21 days of cash receipt each month I need to build a date expression.
example date format is
=Day(Date([Cash App Date]))
now I want to see only the days <21
so the result should be
Which expression do I need to use?
Thanks a lot.
Solved! Go to Solution.
Most of the part, you can do it at the script level itself.
Day(Date(CashDate,'MM/DD/YYYY')) as CashDay;
Load * Inline [
drop table temp;
drop field CashDay from ReduceData;
PSA for the QVW.
this code works perfectly fine in Qlik sense too.
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others
Dear all, thank you very much for your support. The correct answer which worked for me is if(Day(Date([Cash App Date]))<21, Day(Date([Cash App Date])),''). Thanks a lot