Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

select data of last 4 weeks.

Hi,

I need to select the data of last 4 weeks from the db.

Please help me to do. i have attached the snapshot how it has to be appear.

Untitled.png

Thanks,

Pramod

1 Solution

Accepted Solutions
maxgro
MVP
MVP

db = qlikview db?

use a week serial as suggested here

https://community.qlikview.com/message/136895

in chart with set analysis (adapt to your fields and data)

sum($ <weekserial={"<=$(=(max(weekserial)))>=$(=(max(weekserial)-4))"}> something)

View solution in original post

7 Replies
maxgro
MVP
MVP

db = qlikview db?

use a week serial as suggested here

https://community.qlikview.com/message/136895

in chart with set analysis (adapt to your fields and data)

sum($ <weekserial={"<=$(=(max(weekserial)))>=$(=(max(weekserial)-4))"}> something)

Not applicable
Author

yes from qlikview db.

Not applicable
Author

as i am new please explain briefly.

Siva_Sankar
Master II
Master II

hi  pramod,

Can you attach your qvw application?

Not applicable
Author

hi siva sankar,

i don't even know how to attach it.

sorry this is qliksense not qlikview.

actually  i have loaded the data and i have measures too, but i need a expression for dimension to load the data of only last  4 weeks.

Thanks,

Pramod

Anonymous
Not applicable
Author

It is .qvf file, most likely in C:\Users\<you>l\Documents\Qlik\Sense\Apps

Not applicable
Author

hi,

anyone please help for the above question.

Thanks,

Pramod