Joined: 11 Aug 2021
Online Status: Offline
Posts: 2
Topic: Need to Pull data Posted: 12 Aug 2021 at 10:25pm
Hi,
I have a report that needs to be altered so that each month it is run it pulls in data based on the Policy Start Date which is in the same month. For Example, if I run today (13/08/2021) it's pulls all polices which have a start date in August.
I have a report which does something similar but is based on the policy renewal date and even though this could work if the policy doesn't change their renewal date, I'd rather it was based on the Policy Start Date. For this report it uses the Month function and the line in the Select is: {@Renewal Month} = Month (CurrentDate). The Renewal Month formula has connecting formulae. Below is the Renewal Month formula and the connecting formulae.
Renewal Month:
(DatePart("m", {@Contract end for Feb}))
Contract end for Feb:
if
DatePart ("d",{Coverage_Group_View.Policy_End_Date} ) = 28
and
DatePart ("m",{Coverage_Group_View.Policy_End_Date} ) = 02
then
Date(year({Coverage_Group_View.Policy_End_Date}),03 ,01) else
{@Actual Renewal Date}
Actual Renewal Date:
{Coverage_Group_View.Policy_End_Date} + 1
Do I need to follow the same as above for Policy Start Date?
I tried the below line in my new report but it's producing an error saying it's looking for a date.
Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Posted: 18 Aug 2021 at 1:27pm
What I don't know, is would it return you any policies with a start date in August 2020...or next year will it return the August 2021 data as well as the August 2022 data.
That is why I included the year, to filter out past data being returned...unless that is the desired outcome.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum