on 02-03-2012 10:16 AM
Hi,
In my Table
-Name-
John
Cat
Dog
Dad
Mom
In my WEBI, I am able to pick up
=First([Name])
and
=Last([Name])
John and Mom
How do I able to show Cat, Dog and DAD ?
Thanks.
HI Ragoth.C
I used the formula as u mention above, however, I am getting #MultiVALUE
Edited by: liliass on Feb 6, 2012 9:58 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry that I did not clarify everything clearly.
In my SQL Table,
there are number of value like,
John
Sam
Michelle
Vivian
Michael
So in the WEBI Table, I just want to pick up the Second Value in the SQL Table only.
please refer to the screenshot for better understanding.
Hi,
Try the below formula may be it will help you,
=[Device Name] Where (RowIndex()=1) - First name
=[Device Name] Where (RowIndex()=2) - Second name
=[Device Name] Where (RowIndex()=Max(RowIndex())) -Last Name
the above formula will give you the output based on the row index generated in table.
Regards,
Ragoth.C
Hi liliass,
Before checking the exact formula for pulling those values, first sort the column because, later there might be insertion of records to the table and which may affect the formula. Can you please sort the field and tell the exact position that you wanted to display in report.
Thanks
rdineshkumar
HI liliass
If you do not apply any sort based on the other fields then you can use the Rowindex formula.
= [Device Name] where( Rowindex() = 2)
This will return the second row data. But if u apply section or break again the order will change.
So, the output will be exact only when the report is a simple tabular report.
Regards
Shyam
Thanks..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have a query. THe below values are coming from the same field ? How will you differentiate first name and last name ?
THanks & Regards,
Jelina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try this formula I hope this will help you to get the expected output,
[Name] Where ([Name] != Last([Name])and [Name] != First([Name]))
Regards,
Ragoth.C
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The below formula to get second value,
=[Name] Where(RunningCount([Name])=2)
If you want to get only specific values corresponding to the row position.
Then you need to create a object in universe to get 1,2,3,4,5,6,etc.
Then put report filter and choose whatever choice you want by passing that value in the above formula.
Regards,
Ragoth.C
Edited by: Ragoth.C on Feb 4, 2012 11:11 AM
Edited by: Ragoth.C on Feb 4, 2012 11:11 AM
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
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.