If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.
I have sales by invoice date in my model. For every line item, i have the invoice date, fiscal period work day number, period days,and many other attributes. I need help with calculating accumulated sales by day.
This is the formula that I started. I'm also showing the sample table and results desierd. I am intending to add a combo chart showing the accumulated sales by day in a fiscal period. I appreciate you help with fixing this formula.
Mock Results needed:
create variable as :
Today = num(max(INV_DATE))
then use following expression for financial YTD:
I think this is really close to it perfect now. This is really exciting. How do I limit the days to the max invoice day for the period. Right now I am showing 24 days in the period, but we are in day 8 of sales. The graph is showing days 9 through 24 with same total as day 8. Can you share how to limit the days? Super thank you for the help so far.
The best way to learn is to keep trying out different things. Help others on community and you will get to see different ways to approach the same problem and you will learn. For example, you could have solved the above problem using The As-Of Table approach also, but this requires intervention in the script.