on 12-16-2015 11:32 AM
Hi Experts,
I have a weird requirement in WEBI. i have three tables it contains Dimension and Measure.
Now my requirement is if its a Rank one then i need to put these record into one table after that if its a Rank 2 then i need to display only second record into another table. Whenever i am applying Rank 2 it is bringing two records i.e., Rank 1 and Rank 2 but i need to get only second record (i.e., Rank 2 record).
Is there a way to achieve this?
Thanks
Sudha
Hi Sudha,
Can u pls attached screen shot or elaborate the scenario.
Thanks,
Kashif
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Lets say for example i have below data set.
Cust Id | Amount |
1 | 100 |
2 | 200 |
3 | 600 |
4 | 300 |
5 | 50 |
6 | 800 |
7 | 700 |
8 | 500 |
9 | 1000 |
10 | 1100 |
From this if i apply rank 1 on Amount filed i am getting below record
Cust Id | Amount |
10 | 1100 |
If i apply rank 2 on Amount Filed i am getting Below records
Cust Id | Amount |
10 | 1100 |
9 | 1000 |
Now My requirement is when i apply Rank 2 i need to get below record only.i.e.,
Cust Id | Amount |
9 | 1000 |
How can i achieve this?
Thanks
Sudha
Hi Sudha,
Rank means it give output base on Rank, For Example If we need Top 10 or bottom 10 Customer List then we apply Rank for Top 10 or Bottom 10. It give all 10 customer as output.
If you want to filter on specific Rank like your requirement that If select 1 it display top 1 Rank customer, If select 2 then display Top 2 Rank Customer only and as on.
This is as per my understanding, May be i am not able to understand your requirement.
Thanks,
kashif
Hi Sudha,
I did the below and it works (with one minor issue that I didn't spend time on) for your requirement.
Note: As a test, add all the variables we created to the table including Cust ID & Amount to see what each variable does.
That's it, try if its working fine. Let me know if this helps and/or if you have any questions.
Thanks,
Mahboob Mohammed
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
7 | |
6 | |
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.