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

How to filter time period to( month year) and quarter year

Hi All,

i have a Time Period(YYYYMM) in my data in that i want to filter Time Period into

"Month Year" like Jan2017..etc and

"Quarter Year" like Q12017,Q22017..etc

please help on this

Thanks in advance.

3 Replies
its_anandrjs

Try with this

Load

Period,

Date(Period,'MMM-YYYY') as [Month Year]

'Q' & ceil(Month(Period)/3)&Year(Period) as [Quarter Year]

From Source;

jayshrinipurte
Partner - Creator
Partner - Creator

Hi V Kumar...

Load *,

Month&''&year as MonthYear,

'Q' & ceil(Month(TRANDATE)/3)&year as [Quarter Year];

LOAD

year(TRANDATE) as year,

Month(TRANDATE) as MonthYear

its_anandrjs

Check the attached hope you are looking for this.

Output

op555.PNG