on 2018 May 26 2:55 PM
Hi,
Below are the city names with their codes in a table like below
City Code
Sydney B
Sydney A
Perth D
Perth C
Melbourne E
Melbourne F
Adelaide B
Adelaide C
Like there are more no of city names available in table with its codes.
The requirement is: Need to display the cities having code 'B' and take flag as YES for the same. If the B code is not available against a city then display Code B against those cities and take flag as NO. Besides, required to display distinct city names though multiple entries and display Code and its respective flag.
the final required output should looks like below.
City Code Flag
Sydney B Yes
Perth B No
Melbourne B No
Adelaide B Yes
Please suggest how to achieve the above requirement in SAP BO WebI. We are using BO 4.1 SP5 version.
Thanks in Advance.
Request clarification before answering.
follow below steps.
Drag City object
After that add one more column in right and type "B"
Add third column for flag and place below formula.
=if([City] inlist ("Perth";"Melbourne")) then "No" else "Yes"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Amit for your response.
Agree with your formula which i have tried but if no of cities are more then I hope it is not recommended to in list all cities names and moreover its not dynamic. If any city not mentioned in the formula may get tagged under 'B' in future. In that case the said formula fails.
Is there any other way to handle which would be dynamic.
User | Count |
---|---|
73 | |
30 | |
8 | |
8 | |
7 | |
6 | |
6 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.