on 11-02-2010 11:47 PM
Hi,
I want to create the predefined Date filter in olap universe because i want to show the calendar on prompt pages for date selection.
Have any idea how can i create this one.
Regards,
Tayyab
Edited by: Tayyab Muhammad on Nov 3, 2010 12:52 AM
HI,
when you say "pre-defined" are you thinking about having filtes likes showing the last 90 days or are you thinking about a variable allowing you to select a time range
ingo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Since XI 3.1 SP3 and OLAP filter editor has been added in Universe Designer in order to help you to create filters.
I have added different screenshots that will help during the filter creation workflow.
Here is a sample based on AdventureWorks Canlendar Date:
<FILTER KEY="@Select(Date.Calendar\Date)"><CONDITION OPERATORCONDITION="Between">
<CONSTANT CAPTION="@Prompt('Start date','A','Date.Calendar\Date',Mono,Constrained,Not_Persistent)"></CONSTANT>
<CONSTANT CAPTION="@Prompt('End date','A','Date.Calendar\Date',Mono,Constrained,Not_Persistent)"></CONSTANT>
</CONDITION></FILTER>
Didier
Hi Didier,
Thank you very much
i have created the filter by using you code i always got the list values not a calendar prompt.
I created the filter by using the calculated expression which you already sent to me as it can be seen below
<FILTER EXPRESSION="CDate([Date].[Calendar].CurrentMember.MemberValue)"><CONDITION OPERATORCONDITION="Between"><CONSTANT CAPTION="@Prompt('Start Date','D',,Mono,Free,Persistent)"></CONSTANT><CONSTANT CAPTION="@Prompt('End Date','D',,Mono,Free,Persistent)"></CONSTANT></CONDITION></FILTER>
It shown the calendar but when i select the values from calendar and run the report i got no data.
So i need your help to solve this issue.
Regards,
Tayyab
Edited by: Tayyab Muhammad on Nov 8, 2010 11:34 PM
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.