Quantcast
Channel: SCN : Blog List - SAP BusinessObjects Web Intelligence
Viewing all articles
Browse latest Browse all 221

String aggregation on WEBI report level.

$
0
0

Preface:

 

Software used:

SAP BO V 4.1 SP2

Universe : eFashion.

 

I have shown the way we can aggregate the values on report level.

 

I have dragged State & City objects

 

My initial report looks like below:

First report.png

 

Now I want to aggregate city names as per state.

 

So I want result as shown below:

Final report.png

 

 

To achieve the result follow the steps:

 

1) First drag State & City objects on report and sort result by State and City in ascending order.

2) Create dimension like

Cities =[City]+";"+Previous(Self;([State]))

3)Create measure like

length_cities=Length([Cities])

4) Create another measure to calculate rank

 

Ranking =Rank([length_cities];[City];([State]))

 

5) Apply report level filter using newly created measure Ranking

 

where Ranking = 1

 

6) Create another dimension

 

Final_Cities  =NoFilter([Cities])

 

7) Drag this Final_Cities to report & then hide the column City.

 

Check your report you got your desired result.

 

I hope this will help while developing reports.

 

Thanks,

Swapnil


Viewing all articles
Browse latest Browse all 221

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>