I have been working on a report that is supposed to display data based on the "week_ending" dates of the month, however; the same results are displaying for every week. I am not sure what I have done wrong here. I used a similar report as a guide but for some reason it is not functioning properly. Below is the code that I used to designate the week ending parameter. Do I need to do more in order to get the proper week's data to report? Thanks.
<cfloop index="wkends" from=1 to="#count#" step=1>
<cfquery name="getCalcOUGoal" datasource="reo">
<cfquery name="getOUGoal" datasource="reo">