SPSS Statistical Services for SQL2005
A quick look at the user guide, which is also downloadable, shows what it’s all about. For AS2005 users there’s an addin for the Business Intelligence Development Studio which allows you to do two things: create calculated columns in your dsv which bin/band/bucketise values (for example if you had a Customer Age column you could use this to create a column which grouped ages into a number of age range categories), and explore the data in SPSS. For SSIS users there are a bunch of data flow and transformation components to do things like interact with SPSS data sources, do anomaly detection, and use various SPSS statistical functions.
SQL2005 BI Metadata Samples Toolkit
Brian Welcker on Analysis Services/Reporting Services integration
Andy Hayler’s Blog
My session at the PASS European Conference 2006
SQL2005 Books Online December Update
New articles from Chris Harrington
Parameterising by Measures in Reporting Services 2005
WITH
SET MYSET AS HEAD([Date].[Date].[Date].MEMBERS, COUNT(MEASURES.ALLMEMBERS)-1)
MEMBER MEASURES.MeasureUniqueName AS
MEASURES.ALLMEMBERS.ITEM(
RANK(
[Date].[Date].CURRENTMEMBER, MYSET
)-1
).UNIQUENAME
MEMBER MEASURES.MeasureDisplayName AS
MEASURES.ALLMEMBERS.ITEM(
RANK(
[Date].[Date].CURRENTMEMBER, MYSET
)-1
).NAME
SELECT {MEASURES.MeasureUniqueName, MEASURES.MeasureDisplayName} ON 0,
MYSET ON 1
FROM [Adventure Works]
MEMBER MEASURES.SELECTEDMEASURE AS STRTOMEMBER(@MyMeasure, CONSTRAINED) SELECT NON EMPTY { MEASURES.SELECTEDMEASURE} ON COLUMNS, NON EMPTY { ([Date].[Calendar Year].[Calendar Year].ALLMEMBERS ) } DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME ON ROWS FROM [Adventure Works] CELL PROPERTIES VALUE
- Parameter as the name of your parameter, without the leading @. So in our example it would be MyMeasure
- Dimension needs to be left blank – the Measures dimension doesn’t appear on the dropdown list
- Hierarchy needs to be blank too
- Multiple Values needs to be left unchecked
- Default must be entered, but you can use an expression such as MEASURES.DEFAULTMEMBER
Thanks go to my colleague Tony for working this last bit out.
You can then bind this query to a table in your report and select different measures to slice by. Hope this helps!