on 10-26-2015 2:51 PM
Hi Experts,
I try to create a webi report using bex olap conection from bw. The table shows the plants in which there is no sales yesterday.
(BO 4.1. sp 4)
(BEX 7.3. sp 9)
For example, today is : 26.10.2015 and sample data(Query1) is below.
Plant | Date | Quantity |
---|---|---|
1001 | 25.10.2015 | 10 |
1002 | 25.10.2015 | 10 |
1003 | 24.10.2015 | 15 |
1004 | 25.10.2015 | 38 |
How can I display 1003 value?
I can use "result from another query" option but this does not work with olap connection.
Hi,
Follow these steps.
1. Create a Variable (Detail) to get system Date - 1 .
2. Create another variable , say Flag ; Flag = 0 if Date (Column 2 of table) = variable else Flag = 1.
2. On WebI vertical table , add a filter on Flag ; where Flag = 1.
Please let me know if it works.
Thanks,
Rohit Garg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Muhammad,
You can restrict the data in Bex level itself, as the query will be more optimised by that way.
Create a variable to calculate the 'SY-DATUM - 1'
Use the variable as Global filter restriction on Date.
Regards,
CPJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
can you explain more in detail.how are you calculating there is no sales for the plant?
based on the quantity value where quantity is zero?
according to your table there is a quantity for 1003.for me it means there is a sale for plant 1003.
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.