on 10-15-2015 8:09 PM
Hello all,
I am currently looking for a solution that will help me aggregate rows in a particular way in Webi:
Suppose I have 2 objects: Country [Hierarchy] and City [Attribute of a Characteristic]
Like shown in the pictures attached, when the Country is repeated because there are many cities, we would like to aggregate these lines: add totals and replace cities by the word 'Various'. When there is only 1 city for 1 country, it stays as is.
Knowing that webi cannot loop through rows, how would one go about doing this? Based on my knowledge, it is impossible to replicate this logic in my underlying BEx query.
Thanks so much,
Nikki
Nikki,
Write the below formula in the city column
=If Count([City])In([Country])>1 Then "Various" Else [City]
-Sri Harsha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nikki,
Simply convert Budget & Plan objects into measure on universe & then choose 'Sum' as a projection for same.
Thanks,
Swapnil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
9 | |
9 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.