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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Date to endquarter function?

Hi

I have to calculate the days from today()-1 to the end of the cuarter.

There is any function similar to InQuarterToDate?

Thank you

Greetings

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

This should work:

QuarterEnd(today()) - (today()-1)

View solution in original post

4 Replies
maxgro
MVP
MVP

date between today()-1 and end quarter

tmp:

load

  date(makedate(2015) -1 + rowno()) as date

autogenerate 366;

Right keep (tmp)

load

  date

Resident tmp

where date > (today()-1) and InQuarter(date, today(), 0);

Not applicable
Author

Thank you, finally i did this to count the number of days

round(QuarterEnd(today()) - today () ) -1)

Anonymous
Not applicable
Author

This should work:

QuarterEnd(today()) - (today()-1)

Not applicable
Author

Yeah i've done that

Thank you for your help

Greetings