Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
riishabhz
Creator
Creator

sell thru on basis of calendar

my calendar is working on this =Sum({<SalesDate={'>=$(=Date(start))<=$(=Date(end))'}>}RealisedSale)

but its not working on my sell thru code.

sell thru formula is :-=Sum (InvoiceQuantity)/Sum (TransactionQuantity)*100

i did like this to attach my calendar but its not working  and data is not showing ,=Sum({<SalesDate={'>=$(=Date(start))<=$(=Date(end))'}>}(InvoiceQuantity)/(TransactionQuantity)*100)

please help

1 Solution

Accepted Solutions
sunny_talwar

Try this

Sum({<SalesDate = {'>=$(=Date(start))<=$(=Date(end))'}>} InvoiceQuantity)
/
Sum({<SalesDate = {'>=$(=Date(start))<=$(=Date(end))'}>} TransactionQuantity) * 100

 

View solution in original post

2 Replies
Brett_Bleess
Former Employee
Former Employee

Have a look at the following Design Blog post, I think it may be tied to what you are trying to do and may help you figure out what is going wrong with things.

https://community.qlik.com/t5/Qlik-Design-Blog/Canonical-Date/ba-p/1463578

If you want to search for other posts in this area, use the following link:

https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.
sunny_talwar

Try this

Sum({<SalesDate = {'>=$(=Date(start))<=$(=Date(end))'}>} InvoiceQuantity)
/
Sum({<SalesDate = {'>=$(=Date(start))<=$(=Date(end))'}>} TransactionQuantity) * 100