I have the Excel sheet with 2 columns 1st with dates and 2nd with days of the week.
Which in the Cross Tab, I added those 2 rows ex.
Sheet_.F1 (this is first column in Excel where all dates are consecutive)
Sheet_.Fri (this is the weekday names , sun, mon..etc)
then in the summarised field have Sum of @Same dt
where @Same dt is
if {BAQReportResult.LaborHed.ClockInDate} = {Sheet1_.F1} then
{BAQReportResult.Approved}
in the Report > Selection formulas > Record I have the following formula
{Sheet1_.F1} >= {@Merged_dt1} and
{Sheet1_.F1} <= {@Merged_dt2}
{@Merged_dt2} = 20/11/10 (your ex {?StartDate})
and
{@Merged_dt1} = 14/11/10 (your ex {?EndDate})
What does your the content of your formula show for {@Merged_dt2} if you go to field explorer->@merged_dt2}->edit? If you are hard coding a date, you don't need to use a formula.
date ((Mid ({BAQReportParameter.Option01},4 ,2 )+"/"+ Left ({BAQReportParameter.Option01}, 2) +"/" +Mid ({BAQReportParameter.Option01},7 ,4 )));
I had to resort to this formula cause my db returns date in us format mm/dd/yyyy and in text format. {@Merged_dt1} is the start date and 2 is end date.
How can i join the excel and fill the dates with no records ?
Hi LB, the cross tab is working, in fact the report is working but the loading is very slow, the reason I guess is cause the Excel sheet is not linked to any other table. but if i link it ..then i get only the data that is present on the db and not the whole range of dates i need. How do i speed it up ?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.