on 01-18-2009 11:13 PM
Hi,
We have a OLAP universe based on a cube generated from Analysis services.
We have desidned a condition object in which we have added a prompt which works fine. Can we add more functionality to this prompt where we can include "ALL".
I know that there is optional prompts but i still need this functionality as i shall pass some value when i am binding my xcelsius components to this prompts.
Thanks
J
Jithendra,
You can build an optional predefined filter that mix "All" level with other levels with OR operator.
In that case you will be able to select "All" or any other value coming from another level.
Here is a sample based on AdventureWorks where I used "Product Categories" hierarchy and a "Like" operator.
<OPERATOR VALUE="OR" >
<OPTIONAL>
<FILTER KEY="[Product].[Product Categories].[(All)]" >
<CONDITION OPERATORCONDITION="Like" >
<CONSTANT CAPTION="@prompt('Products','A','Product Categories\(All)',Mono,Free,Persistent)" />
</CONDITION>
</FILTER>
</OPTIONAL>
<OPTIONAL>
<FILTER KEY="[Product].[Product Categories].[Category]" >
<CONDITION OPERATORCONDITION="Like" >
<CONSTANT CAPTION="@prompt('Products','A','Product Categories\Category',Mono,Free,Persistent)" />
</CONDITION>
</FILTER>
</OPTIONAL>
<OPTIONAL>
<FILTER KEY="[Product].[Product Categories].[Subcategory]" >
<CONDITION OPERATORCONDITION="Like" >
<CONSTANT CAPTION="@prompt('Products','A','Product Categories\Subcategory',Mono,Free,Persistent)" />
</CONDITION>
</FILTER>
</OPTIONAL>
</OPERATOR>
Didier
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.