Groups | Blog | Home
all groups > sql server reporting services > march 2005 >

sql server reporting services : Server/Cube Defined Formatting on a Reporting Services report


Minas Papageorgiou
3/6/2005 10:59:02 AM
Any suggestions on how to get the formatting options or the FORMATTED_VALUE
of a measure through an MDX query in Reporting Services, so that the report
Robert Bruckner [MSFT]
3/6/2005 2:53:40 PM
You have to write your MDX query accordingly using extended cell properties.
Please check this MSDN link to MDX CELL PROPERTIES as a starting point:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/olapdmad/agmdxadvanced_11yr.asp

In RS2000, you will then have additional fields in the datasets and you just
access them as fields. RS2005 will be able to detect extended cell
properties and match them with the cell so that you can access the extended
properties as properties of the field in the Fields collection, rather than
as a separate field.


-- Robert
This posting is provided "AS IS" with no warranties, and confers no rights.


"Minas Papageorgiou" <MinasPapageorgiou@discussions.microsoft.com> wrote in
message news:DDD0190B-31C1-4C34-8992-575F5EA83B43@microsoft.com...
[quoted text, click to view]

Minas Papageorgiou
3/6/2005 10:43:01 PM
I tried using the CELL PROPERTIES, but it didn't return the extended property
FORMATTED_VALUE.
Tried writting it as FORMATTED_VALUE,FORMATTEDVALUE and FORMATTED VALUE.

What is weird is that documentation states:
Cell properties are not returned for MDX queries that return flattened
rowsets; in this case, each cell is represented as if only the
FORMATTED_VALUE cell property were returned.

, meaning that the resultset in RS designed should already be formated.
Any sample ???
Thanx.


[quoted text, click to view]
Robert Bruckner [MSFT]
3/7/2005 8:08:21 AM
I realized that this will only work with the new ADOMD.NET provider which
will ship with SQL 2005 (supporting both, AS 8.0 and AS 2005). Once the new
ADOMD.NET provider is released, it should also work with RS 2000.
The documentation seems to be correct wrt. the existing OleDB provider for
AS 8.0. It will not return extended cell properties in the flattened rowset.

--
This posting is provided "AS IS" with no warranties, and confers no rights.


"Minas Papageorgiou" <MinasPapageorgiou@discussions.microsoft.com> wrote in
message news:135A12FD-F7C1-401F-B5ED-48AE1B351872@microsoft.com...
[quoted text, click to view]

AddThis Social Bookmark Button