Viewing 15 posts - 2,941 through 2,955 (of 3,396 total)
Create a calculated column in your dataset for the year.
YEAR(SomeDate)
Then you should be able to group no problem.
May 1, 2014 at 7:47 am
Do you understand the difference between an OLTP database structure and a DW database structure? Which part are you having trouble with? The star schema?
April 29, 2014 at 3:50 pm
If you can get your hands on a copy, read a little of Ralph Kimball's Data Warehouse Toolkit
April 29, 2014 at 2:46 pm
Sorry, I completely missed this. What you describe is exactly what I ended up doing. Lots of parameterized subreports that I could include in a "main" report. ...
April 28, 2014 at 2:48 pm
I think I managed to reproduce your problem... and I think I solved it.
First off, some data to play with that I used as the data source for my report:
SELECT...
April 26, 2014 at 8:28 pm
Oh, super cool! Guess I'll have to test and see if it is happy on Win7 or another non-Server OS.
Thanks!
April 26, 2014 at 6:06 pm
Are you trying to create a single dataset to use in your report? If so, it looks like you can union the results together.
SELECT...
FROM v_SomeView
WHERE...
UNION ALL
SELECT...
FROM v_SomeOtherView
WHERE...
and then...
April 26, 2014 at 1:41 pm
If you're using a Slowly Changing Dimension, and this is classwork, you might want to read up on them in Kimball's book. He explains how to do this in...
April 26, 2014 at 1:32 pm
Probably should have done this with a CTE, but anyway, I think this works:
SELECT mx.SaleYear, mx.SaleWeek, mx.highestSale, sd.ProductID
FROM
(SELECT SaleYear
, SaleWeek
, MAX(Quantity) AS highestSale
FROM SalesData
GROUP BY SaleYear, SaleWeek) mx
INNER JOIN...
April 23, 2014 at 9:57 am
If you're using a normal database and not an SSAS cube, then you can use a Calendar table. Here's the article on it: http://www.sqlservercentral.com/articles/T-SQL/70482/
Basically, the Calendar table...
April 20, 2014 at 12:26 am
In a dataset that already exists within the ssrs 2008 r2 report I need execute
a stored procedure called StudentData and pass 3 parameter values to the stored procedure. The...
April 20, 2014 at 12:01 am
Yes, that's what I'm saying. I could be wrong, but I couldn't get it to work any other way. Would love an SSRS wizard to set me right.
April 19, 2014 at 9:14 pm
No. do your own work. Read the article, try it, and post your SQL if you get stuck.
April 18, 2014 at 11:37 pm
I think your only option is to do something like this:
IIF([State]='CA',NULL,[ValueColumn])
April 18, 2014 at 10:23 pm
Are you doing this in T-SQL or in Reporting Services?
if you're using SSRS, use a Matrix. Otherwise, read this:
April 18, 2014 at 10:17 pm
Viewing 15 posts - 2,941 through 2,955 (of 3,396 total)