Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Quarter day number

Hi,

I need to create a field which will present quarter day number.

In each quarter we have 98 days.

so, for example, 1/1/2014 will be day 1, 2/1/2014 will be day 2, 1/7/2014 will be day 1, 2/7/2014 will be day 2.

So , how do I create it?

Thanks,

1 Solution

Accepted Solutions
Agis-Kalogiannis
Employee
Employee

The following expression would give you the QuarterDay field, if added in the MasterCalendar

date(TempDate) - QuarterStart(TempDate) + 1 AS QuarterDay

I hope this helps.

Agis

View solution in original post

1 Reply
Agis-Kalogiannis
Employee
Employee

The following expression would give you the QuarterDay field, if added in the MasterCalendar

date(TempDate) - QuarterStart(TempDate) + 1 AS QuarterDay

I hope this helps.

Agis