Actually, I have it working like that. What I really need is something along
the lines of the following:
Brand Type DailyAmt MTDAmt
Brand1 1232.00 10564.00
Brand2 1564.00 8674.00
Brand3 950.00 7895.00
What I end up with is something like this
Brand Type DailyAmt MTDAmt
Brand1 0.00 1232.00
Brand2 0.00 1564.00
Brand3 000 950.00
Brand1 0.00 1123.00
Brand2 0.00 1456.00
Brand3 000 1020.00
Brand1 1232.00 8794.00
Brand2 1564.00 4564.00
Brand3 950.00 2134.00
I basically get Day 1, day2, day3... Where 0 replaces results not equal to
report date.
*note: Not actual results. What I really need is to display Daily for the
Report Date, and sum all days For month to date and group by brand.
Does that make sense?
[quoted text, click to view] Dan wrote:
>If I understand the requirements correctly, you want the report to look
>something like the following:
>
>Month: January
>Day ifamt
>1 3432.39
>2 43234.52
>3 2349.39
>Month Total xxxxxx.xx
>
>If this is correct, this is probably how I would approach it. Using a
>table, I would make the first group be grouped on the expression
>=Format("MM", Fields!DATE.Value) This will group on the Month number.
>
>The second group would be =Format("dd", Fields!DATE.Value)
>
>In the table header, you can put your column headings like Day &
>Amount.
>
>In group 1 header, I would merge the cells and do something like
>="Month:" & Fields!DATE.Value. (you can format it to be how you'd
>like).
>
>I would delete the details row.
>
>In group 2 footer (Daily Totals), there would be two textboxes.
>=Format("dd", Fields!DATE.Value) and =sum(Fields!ifamt.Value)
>
>In group 1 footer (Monthly Totals), you can do =Format("MM",
>Fields!DATE.Value) and =sum(Fields!ifamt.Value)
>
>Now a lot of this leaves the formatting up to you - but I'm hoping the
>trick you were looking to find was grouping on month and day.
>
>There are dozens of ways to do this depending on how you return the
>data. If you returned the data already grouped by the SQL by Day, You
>could just use 1 group in the report on the month, and in the details
>have the daily info.
>
>Let me know if I misunderstood the requirements.
>
>Dan
--
Message posted via SQLMonster.com