Hello,
I am using CR V 10. Below is my formulas:
LastUpdate: Maximum ({tblStatus.EnteredDate},{tblStatus.ProjectNum})
DaysLastUpdate: DateDiff ("D",{@LastUpdate} , CurrentDate)- (DateDiff ("WW",{@LastUpdate} , CurrentDate)*2 )
LastUpdate (%): If {@DaysLastUpdate} <= 3 Then "100%" Else "90%"
100% : If {@LastUpdate (%)} = "100%" Then distinctcount ({tblProjects.ProjectNum},{tblProjects.ProjectNum})
90%: If {@LastUpdate (%)} = "90%" Then distinctcount ({tblProjects.ProjectNum},{tblProjects.ProjectNum})
100%Count: If {@LastUpdate (%)} = "100%" Then distinctcount ({tblProjects.ProjectNum},{@Active/InActive})
90%Count: If {@LastUpdate (%)} = "90%" Then distinctcount ({tblProjects.ProjectNum},{@Active/InActive})
I grouped the report by Project# and by Project Status (Active or InActive)
Below is what showing on my report:
Project# 100% 90%
100AS 1
101DS 1
724GH 1
968AB 1
Active 4 0
340MQ 1
979EB 1
InActive 2
what shows under Project# Group is correct. However, the Problem is Under Project Status (Active or InActive) Group, it is showing that I have 4 projects at 100% and 0 at 90% when it should have shown 3 projects at 100% and 1 at 90%. what can I do to fix this? thanks so much for your help.
I am using CR V 10. Below is my formulas:
LastUpdate: Maximum ({tblStatus.EnteredDate},{tblStatus.ProjectNum})
DaysLastUpdate: DateDiff ("D",{@LastUpdate} , CurrentDate)- (DateDiff ("WW",{@LastUpdate} , CurrentDate)*2 )
LastUpdate (%): If {@DaysLastUpdate} <= 3 Then "100%" Else "90%"
100% : If {@LastUpdate (%)} = "100%" Then distinctcount ({tblProjects.ProjectNum},{tblProjects.ProjectNum})
90%: If {@LastUpdate (%)} = "90%" Then distinctcount ({tblProjects.ProjectNum},{tblProjects.ProjectNum})
100%Count: If {@LastUpdate (%)} = "100%" Then distinctcount ({tblProjects.ProjectNum},{@Active/InActive})
90%Count: If {@LastUpdate (%)} = "90%" Then distinctcount ({tblProjects.ProjectNum},{@Active/InActive})
I grouped the report by Project# and by Project Status (Active or InActive)
Below is what showing on my report:
Project# 100% 90%
100AS 1
101DS 1
724GH 1
968AB 1
Active 4 0
340MQ 1
979EB 1
InActive 2
what shows under Project# Group is correct. However, the Problem is Under Project Status (Active or InActive) Group, it is showing that I have 4 projects at 100% and 0 at 90% when it should have shown 3 projects at 100% and 1 at 90%. what can I do to fix this? thanks so much for your help.