Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
microwin88x
Creator III
Creator III

Solved

Solved

1 Solution

Accepted Solutions
Mark_Little
Luminary
Luminary

Hi,

I am guessing I miss understood what you were wanting as the above will only load the where the period ends in 12.

Just as I was was working on this before the correct answer popped up, I thought I would post this anyhow

This would give you the table shown above, i.e. period 12 for complete years and then monthly period for the current or incomplete years.

Mark

View solution in original post

5 Replies
Gysbert_Wassenaar

LOAD

     PERIOD,

     VALUE

FROM

     SOMEWHERE

WHERE

     NOT WildMatch(PERIOD,'2015*') OR PERIOD = '201512'

;


talk is cheap, supply exceeds demand
microwin88x
Creator III
Creator III
Author

Thanks, Gysbert! The thing is that I would need to do the same process for the next years (2016, 2017, etc)

Gysbert_Wassenaar

Then use

WHERE

     WildMatch(PERIOD,'*12')


talk is cheap, supply exceeds demand
microwin88x
Creator III
Creator III
Author

Perfect! I'll give it a try. Thanks!

Mark_Little
Luminary
Luminary

Hi,

I am guessing I miss understood what you were wanting as the above will only load the where the period ends in 12.

Just as I was was working on this before the correct answer popped up, I thought I would post this anyhow

This would give you the table shown above, i.e. period 12 for complete years and then monthly period for the current or incomplete years.

Mark