Quantcast
Channel: SCN : All Content - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4216

How to combine several measures into 1 Pie chart

$
0
0

How to combine several measures into 1 Pie chart

Hi all,

Recently, I had a requirement to create a pie chart from several measures. As pie chart requires one measure, and multiple characteristics, this case is not trivial. In the following blog, I’m going to show you a simple way to create Pie graph from key figures.

My initial case is that I have several measures that I want to display on my pie graph:

1.png

In order to show them in pie graph, we need to convert them into characteristic, and create one key-figure to show the right measure for each characteristic.

In order to do that, we will use BEX capabilities, and create a structure that will have characteristic for each measure:

2.png

After that, we will create a formula that will display the right measure for each characteristic that we’ve created:

3.png

At that point we put “0” in the formula – we will fill the content later.

Now, what is left to do is use cells to fill the content of the measure we created:

4.png

In cells we put a reference on each relevant characteristic/measure (colored in blue) – to do that all you have to do is double click on the relevant cell.

5.png

And then, create a formula for each characteristic/measure (colored in red)

 

6.png

Each formula contain the relevant reference cell:

7.png

Now, what is left to do is hide the measures that we used, so that we see only one relevant measure:

8.png

That’s it. The query is now compatible with pie graph:

9.png

If we add it to Design Studio, it will work fine:

10.png

 

Good Luck!

Roman


Viewing all articles
Browse latest Browse all 4216

Trending Articles



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