![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Hi All. I'm building a XMLA viewer that works inside Explorer. I'd create a MDX, let me say this, as example: ----------------------------------MDX--------------------------- with member [Product].[All Products].[Drink].[Percent of Alcoholic Drinks] as '[Product].[All Products].[Drink].[Alcoholic Beverages]/[Product].[All Products].[Drink]', format = '#.00%' --------------- select { [Product].[All Products].[Drink].[Percent of Alcoholic Drinks] } on columns, order([Customers].[All Customers].[USA].[WA].Children, [Product].[All Products].[Drink].[Percent of Alcoholic Drinks],BDESC ) on rows from Sales where ( [Measures].[Unit Sales] ) -------------------------------------------------------------------- This is a classic MDX that you could find in the standard MDXSampleApplication. Please focus on "format='#.00%"b When i execute this MDX i receive the XMLA. In particular below you can find an exemple of CellData tag - <CellData - <Cell CellOrdinal="0" Value xsi:type="xsd:double">0.44047619047619</Value FmtValue>,44</FmtValue /Cell How do i recognize that this number should be represented with percent symbol? |
#2
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |