Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Live chat with experts, bring your API Integration questions. June 15th, 10 AM ET. REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
sagaraperera
Creator
Creator

PREVIOUS MONTH DATA

Dear All

I using following formula to get a previous month data 

=MonthEnd(max(MARKETING_DATE),-1)

But this formula get a result only last month i want to get a sales value using above formula. may data field name is   GROSSTOT

please help

thanks

sagara

2 Replies
Vegar
Partner
Partner

Try this

Sum({<MARKETING_DATE = {">=$(=MonthStart(max(MARKETING_DATE),-1))<$(=MonthEnd(max(MARKETING_DATE),-1))"} >}GROSTOT)

Plees ekskuse my Swenglish and or Norweglish spelling misstakes
Brett_Bleess
Support (Former)
Support (Former)

Sagara, did Vegar's post get things working as you wanted?  If so, do not forget to come back to the thread and use the Accept as Solution button on his post to give him credit and let others know it worked.  If you are still working upon things, leave an update for us.

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.