Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
gauthamchilled
Creator
Creator

implement expression in script level

hi

I have attached a file and I mentioned the formula and sample data in the file. can any one help me in implementing in script level. because if I do this in the chart expression it is resource heavy.  plz help

Thanks

Gautham

11 Replies
robert_mika
Master III
Master III

Can you add screenshot as well?

Some of us are working on PE .

gauthamchilled
Creator
Creator
Author

Sure..PFA

gauthamchilled
Creator
Creator
Author

Any help?

settu_periasamy
Master III
Master III

Hi Goutham,

Do you want the calculation for your mentioned month?  (Mar' 09, Jun'09 and Quarter Mar'09)

or is that change dynamically like

Mar'09 = Feb' 09 + Mar'09

Apr' 09 = Mar'09 + Apr'09

...

like this

gauthamchilled
Creator
Creator
Author

Yes, it changes dynamically.

vikasmahajan

Hii,

For your example you can not hard code years in expression formula , you need to implement calendar in qlikview and link this calender with facts and write in expression levels formula's

HTH

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
maxgro
MVP
MVP

PFA

!

robert_mika
Master III
Master III

For your Monhly Average:

t1:

LOAD Sales,

     Month,

     Product,

     Period1

     FROM

(ooxml, embedded labels, table is Sheet1);

;

t2:

load

Period1,

Sum(Sales) as MSales

Resident t1

Group by Period1;

t3:

load

Period1,

(MSales+Previous(MSales))/LEFT(MonthEnd(Date(Period1,'DD-MM-YYYY')),2) as Average

Resident t2;

2015-07-14_054425.jpg

The Q total are on the way...

gauthamchilled
Creator
Creator
Author

Yes, I don't want to hard code and use it in script level. can you help me how to do that?