on 08-06-2009 2:21 PM
Hi Gurus,
I would like to populate data to my dashboard using a Webi report. My datasource is BW query.
I would like to show the orders in my report if "invoice-week" <= current week
So, I need a dynamic week that I think needs to be passed onto "invoice-week" object in Webi report.
I do not want user to be prompted to enter the Week.
Where should I created the condition/formula (in Universe or Webi report)? to display the invoice records where 'Invoiice week" is <= current week
Please let me know the logic.
I think I need to include a condition in Universe :
<FILTER KEY="[ZP_OPRWK]"><CONDITION OPERATORCONDITION="<="><CONSTANT TECH_NAME="Value"></CONSTANT>[<CONSTANT></CONSTANT>]</CONDITION></FILTER>
Thank you,
Dev
Hi,
If you are using SAP we recommend to cxreate an SAP Exit or create a WebI Formula.
If you are using MSAS you can also define a universe pre-definedf filter in MDX such like this.
Here is a sample based on AdwentureWorks. This sample returns 1 if the current member from Date.Calendar is in the current week:
<FILTER EXPRESSION="IIF ( CDate([Date].[Calendar].CurrentMember.MemberValue) <= Now() and CDate([Date].[Calendar].CurrentMember.MemberValue) > Now()-7,1,0)">
<CONDITION OPERATORCONDITION="Equal">
<CONSTANT CAPTION="1"/>
</CONDITION>
</FILTER>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.