Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
manishapanda1
Contributor III
Contributor III

Convert Year and Month field like 2019 01 to string like 2019 Q1,

HI ,

Please help me to get the out put for below

Data having Year and Month field like 2019 01, 2019 02 upto 2019 12. Now need to convert this into string like 2019 Q1, 2019 Q2, 2019 Q3, 2019 Q4

Thanks,

MP

1 Reply
Vegar
MVP
MVP

Try this:

=[YearField] & ' Q' & ceil(month(makedate([YearField], [MonthField])/3)