Showing posts with label rs2005. Show all posts
Showing posts with label rs2005. Show all posts

Monday, March 26, 2012

Ragged Hierarchies in RS2005

Hi...

I am connecting to Analysis Sercices 2000 from Reporting Services 2005.

When building a dataset, just in the data pane graphical designer, I have dragged 5 levels of the dimension 'Organisation' into the data pane.

The dimension has members at level 4 that have no children. But the dimenension also has members at level 5 WITH children, meaning that the dimension is ragged. If I only select levels 1-4 on the data pane, I see all level 4 children. However, if I also drag level 5 to the data pane, I loose any level 4 members that do not have children.

This means I loose vallid members that have data. Does anyone know of any way around this?

Thanks

Jeremy

Does anyone have any experience on getting this to work?

I have managed to display a ragged hierarchy by hacking the MDX, with the use of the DrillDownMember function.

Unfortunatlely, altough the ragged hierarchy does now display correctly in the data pane, it does not display in a table or matrix. So I have the situation where by my result set in the data pane does not match my result set in the actual report.

If anyone can offer any assistance it would be appreciated,

Thank you

Jeremy

|||

I have now managed to get this to work.

As I was using an AS2000 cube with the Adomd client, which according to Microsoft is not supported. If you want to use an AS2000 cube, then you have to use the OLE DB data provider.

Unfortunately I still had to use the DillDownMember function, this seems to be the only way I can get ragged hierachies to work correctly.

|||

Sorry I had not seen your post before.

Considering that the returned cellset gets flattened into a result set, if you put your set of members on the ROWS axis of the MDX query, you will actually end up with a separate column per level in you result set.

So if you structure your query like this

SELECT
{[Measures.[x]]} ON COLUMNS,
{Descendants([YourDimension].[All], [YourDimension].[Level 5], SELF_BEFORE_AFTER)} ON ROWS
FROM [YourCube]

The returned dataset should have these columns

Level_1, Level_2, Level_3, Level_4, Level_5, x

This should cater for your ragged hierarchies requirement.

sql

Monday, February 20, 2012

Questions using RS2005

I have two questions. Both of my questions are based on my experiences
briefly using RS2000. First, has RS2005 managed to fix the problem with
returning large (average 50K) records without eating up all the server
resources or even crashing the server. This happened when I was using RS2000
regardless if I was using paging feature like returning partial records at a
time. I've called MS and the support person told me that RS2000 was not
meant to return more than 10k records. I thought that was stranged but I
kind of understand. Have this issue been resolved in RS2005? Or do I
continue using Crystal Reports..
Second question is regarding dataset being pass from asp.net. In RS2000,
there was no way to pass dataset from asp.net to RS2000. I know few people
in the past have created their own customize dataset (Teo Lachev is one) to
be able to pass datasets (not rs2000 dataset but, dataset in asp.net/
vb.net). Have RS2005 added this feature? Thanks in advance.
HenryRS 2005 has not changed how it is managing rendering. Rendering is done in
memory which is why the problem returning 50,000 records IF rendering to PDF
or Excel. Rendering this size in HTML or CSV is not a problem (in either RS
2000 or 2005). If this is your reason to stay away then you either need to
consider CSV (this many records is not for human consumption, it is a data
export and CSV works well for that).
Second, VS 2005 comes with two new controls that you can run in either local
mode or server mode. In local mode you give it a dataset. Note that in local
mode you have to do more work (handling sub reports etc).
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"Henry" <Henry@.discussions.microsoft.com> wrote in message
news:8AE7E99E-1E90-4DA7-B8BC-8AF03BE80BE7@.microsoft.com...
>I have two questions. Both of my questions are based on my experiences
> briefly using RS2000. First, has RS2005 managed to fix the problem with
> returning large (average 50K) records without eating up all the server
> resources or even crashing the server. This happened when I was using
> RS2000
> regardless if I was using paging feature like returning partial records at
> a
> time. I've called MS and the support person told me that RS2000 was not
> meant to return more than 10k records. I thought that was stranged but I
> kind of understand. Have this issue been resolved in RS2005? Or do I
> continue using Crystal Reports..
> Second question is regarding dataset being pass from asp.net. In RS2000,
> there was no way to pass dataset from asp.net to RS2000. I know few
> people
> in the past have created their own customize dataset (Teo Lachev is one)
> to
> be able to pass datasets (not rs2000 dataset but, dataset in asp.net/
> vb.net). Have RS2005 added this feature? Thanks in advance.
> Henry