More Related Content More from Shawn Villaron (16) Spreadsheet ml subject metadata3. Example=CUBEMEMBER("xlextdat9 Adventure Works","[Measures].[Internet Sales Amount]")
=CUBEVALUE("xlextdat9 Adventure Works",C$5,$A6)
=CUBERANKEDMEMBER("xlextdat9 Adventure Works",$A$5,ROW(A1))
=CUBESET("xlextdat9 Adventure Works","[Customer].[Customer Geography].[All Customers].children","Countries",2,D5)
=CUBEMEMBER("xlextdat9 Adventure Works","[Product].[Product Categories].[All Products]")
=CUBEMEMBER("xlextdat9 Adventure Works","[Date].[Calendar].[All Periods].[CY 2003]")
=CUBEVALUE("xlextdat9 Adventure Works",D$5,$A6)
=CUBEMEMBER("xlextdat9 Adventure Works",(C1,D2,C3),"2004 Sales")
=CUBEMEMBER("xlextdat9 Adventure Works",C1:C3,"2003 Sales")
=CUBEMEMBER("xlextdat9 Adventure Works","[Date].[Calendar].[All Periods].[CY 2004]")
5. XML – types
<metadataTypes count="1">
<metadataType name="XLMDX" minSupportedVersion="120000"
copy="1" pasteAll="1" pasteValues="1" merge="1"
splitFirst="1" rowColShift="1" clearFormats="1"
clearComments="1" assign="1" coerce="1"/>
</metadataTypes>
6. XML - strings
<metadataStrings count="12">
<s v="xlextdat9 Adventure Works"/>
<s v="[Measures].[Internet Sales Amount]"/>
<s v="[Date].[Calendar].[Calendar Year].&[2003]"/>
<s v="[Date].[Calendar].[Calendar Year].&[2004]"/>
<s v="[Product].[Product Categories].[All Products]"/>
<s v="[Customer].[Customer Geography].[All Customers].children"/>
<s v="[Customer].[Customer Geography].[Country].&[Australia]"/>
<s v="[Customer].[Customer Geography].[Country].&[United
States]"/>
<s v="[Customer].[Customer Geography].[Country].&[United
Kingdom]"/>
<s v="[Customer].[Customer Geography].[Country].&[Germany]"/>
<s v="[Customer].[Customer Geography].[Country].&[France]"/>
<s v="[Customer].[Customer Geography].[Country].&[Canada]"/>
</metadataStrings>
7. XML – mdx
<mdxMetadata count="26“>
<mdx n="0" f="m">
<t c="3">
<n x="1"/>
<n x="2"/>
<n x="4"/>
</t>
</mdx>
<mdx n="0" f="s">
<ms ns="5" c="3" o="d">
<n x="1"/>
<n x="3"/>
<n x="4"/>
</ms>
</mdx>
8. XML – value
<valueMetadata count="26">
<bk>
<rc t="1" v="0"/>
</bk>
<bk>
<rc t="1" v="1"/>
</bk>
<bk>
<rc t="1" v="2"/>
</bk>
<bk>
<rc t="1" v="3"/>
</bk>
<bk>
<rc t="1" v="4"/>
</bk>
9. Disclaimer
This presentation is for informational purposes only, and should
not be relied upon as a substitute or replacement for Microsoft
formal file format documentation, which is available at the
following website: https://msdn.microsoft.com/en-
us/library/cc313118(v=office.12).aspx. Any views or opinions
presented in this material are solely those of the author and do
not necessarily represent those of Microsoft. Microsoft
disclaims all liability for mistakes or inaccuracies in this
presentation.