on 07-21-2014 6:59 PM
Hi Experts
i'm new in webi, n need help.
I have tried a few formula in webi, but was not able to achieve the result i wanted,
what i want was --> if legacy system = 'xxx' and 'yyy' and 'zzz', value = "total", else legacy system
but when i tried
=If([Legacy System] = "XXX"; [Legacy System];
If([Legacy System] = "YYY"; [Legacy System];
If([Legacy System]= "ZZZ"; [Legacy System]; "TOTAL")))
i get all 3 XXX, YYY and ZZZ displayed.
I couldn't figure out how to use the And condition for IF statement
I also tried
=If (count([Legacy System];distinct) > 1;"TOTAL";[Legacy System])
but failed.
any advice? thanks!
= If [Legacy System] inlist("XXX";"YYY";"ZZZ") then [Total] else [Legacy System]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
i managed to temporarily solved it by first creating a measure called test
=Count([Legacy System];Distinct)
then i created a dimension,
=If([test] > 1;"TOTAL";[Legacy System])
the value came out as expected.
i am still interested to know how the AND condition works in WEBI
THanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.