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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Issue while creating a calendar for the app

Hi,

I  am using the following code for 'Q'&Ceil(Month(ReportedDate)/3) AS CalendarQuarter and i am getting (Q,Q1,Q2,Q3,Q4) as values. When i remove the 'Q' from the code am just getting the quarter numbers(1,2,3,4). Unable to trace out the issue.

Regards,

Srikar

2 Replies
Not applicable
Author

Dear,

Srikar.

try to apply where condition at the end.

like

Test:

Load

-----

---------

-----------

where exist(ReportedDate,ReportedDate);

i hope it will help you.

Thanks,

Mukram.

whiteline
Master II
Master II

It seems that ReportedDate sometimes is null.

Try Ceil(if(not isnull(Month(ReportedDate)), Month(ReportedDate), 'NULL')/3) AS CalendarQuarter