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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
ali_hijazi
Partner - Master II
Partner - Master II

Billing Cycle

Hello 

we have table for employees

Each employee has a start date

in the company the fiscal year or billing cycle starts each year on May

I want to count the employees of the current billing cycle i.e. those whose start date is between May 2018 - and May 2019
How can I identify a date as within the current billing cycle every year?

I can walk on water when it freezes
Labels (1)
1 Reply
uacg0009
Partner - Specialist
Partner - Specialist

Hi,
I think you can add a new column in your table,like:
if(month(start_date) < 5,year(start_date) - 1,year(start_date)) as billing_cycle
Please try.
Aiolos Zhao