I have to create a Crystal Report off of a SQL SP. The report needs to have dynamic columns that will show monthly usage of an item. If the user passes a date parameter (12/01/03 - 03/13/04) I would like the SP to show usage for that item in vertical column for each of the months within the date range, (the dynamic columns I can handle in Crystal). The table would look like this:
Item Name Month/Year Usage
a 12/03 289
a 1/04 350
a 2/04 330
a 3/04 100
There would be more fields in the table but if I must make a seperate table or even SP to do this that is cool. Please let me know.
Item Name Month/Year Usage
a 12/03 289
a 1/04 350
a 2/04 330
a 3/04 100
There would be more fields in the table but if I must make a seperate table or even SP to do this that is cool. Please let me know.