Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Dividing the Year

hello guys ... I'm having a little problem

I have "Months of the Year", and want to divide this year in three periods (three fields), the 1st (January to April, 1 ° - 4 °), 2nd (January through August 1 - 8 °) and 3rd (January through December, every months)

1st period = jan, feb, mar, apr

2nd period = jan, feb, mar, apr, may, jun, jul, ago

3rd period = jan, feb, mar, apr, may, jun, jul, ago, sep, oct, nov, dec


then I need to make three graphs, one with values only the first 4 months, the second with values of only 1st month until the 8th month and the third with every months.

can someone help me?

Labels (1)
2 Replies
matt_crowther
Specialist
Specialist

Very quick and dirty front-end solution:

Use a calculated dimension:

Period 1: '=if(date([Month],'MM')<=04,[Month]) '

Period 2: '=if(date([Month],'MM')<=08,[Month]) '

Period 3: '=if(date([Month],'MM')<=12,[Month]) '

Suppress the dimension values where null and you should have the result required.

Hope that helps,

Matt - Visual Analytics Ltd

Not applicable
Author

thank you ... was what I was seeking