Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Multiple series chart in birt
Namchinbum Ganbat
<p>Dears</p>
<p>actually I am a new on birt report designer, i am trying to create a chart with multiple chart, but since dont have mutiple x-axis, i cannot count 2nd series correctly,</p>
<p> </p>
<p>pls help me to do this</p>
<p> </p>
Find more posts tagged with
Comments
sureshpulapalli
<p>Hi,</p>
<p> </p>
<p>why do you need multiple x-axis? I don't see anything wrong in the attached screen shots. It would be great if you can provide more details regarding your requirement</p>
<p> </p>
<p> </p>
<p> </p>
<p>Regards,</p>
<p>Suresh</p>
Namchinbum Ganbat
<blockquote class="ipsBlockquote" data-author="sureshpulapalli" data-cid="146725" data-time="1486021165">
<div>
<p>Hi,</p>
<p> </p>
<p>why do you need multiple x-axis? I don't see anything wrong in the attached screen shots. It would be great if you can provide more details regarding your requirement</p>
<p> </p>
<p> </p>
<p> </p>
<p>Regards,</p>
<p>Suresh</p>
</div>
</blockquote>
<p>Hi,</p>
<p> </p>
<p>if i create a chart with 2 separate chart for actual_month and report_month etc, it shows correct result,</p>
<p>but after combning them into one chart , all the months for 2nd series are sames as 1st series, i think it is for 2nd series, value is report_month row and x-axis is actual_month</p>
Namchinbum Ganbat
<p>Pls see the attached</p>
sureshpulapalli
<p>can you please send me your report design?</p>
Namchinbum Ganbat
<p>pls see the design file as attached</p>
Clement Wong
<p>Your data should be re-organized. Currently, it looks like this?</p>
<pre class="_prettyXprint">
Actual_Months Reported_Months
1 1
2 3
3 4
5 5</pre>
<p>Since you are using the Actual_Months as the X-Axis, you're going to miss the values for Reported_Months = 2. Now, if you use Reported_Months in the X-Axis, you are going to miss the values for Actual_Months = 4.</p>
<p> </p>
<p>Are you able to change your SQL so that it will return the following so that all months are part of the output?</p>
<pre class="_prettyXprint _lang-">
Month Actual_Months Reported_Months
1 1 1
2 1 0
3 0 1
4 1 0
5 1 2
</pre>
<p> Then, you can use the first column (Month) as the X-Axis.</p>
<p> </p>
<p>Series 1: SUM of Actual_Months</p>
<p>Series 2: SUM of Reported_Months</p>
Namchinbum Ganbat
<blockquote class="ipsBlockquote" data-author="Clement Wong" data-cid="146763" data-time="1486515665">
<div>
<p>Your data should be re-organized. Currently, it looks like this?</p>
<pre class="_prettyXprint">
Actual_Months Reported_Months
1 1
2 3
3 4
5 5</pre>
<p>Since you are using the Actual_Months as the X-Axis, you're going to miss the values for Reported_Months = 2. Now, if you use Reported_Months in the X-Axis, you are going to miss the values for Actual_Months = 4.</p>
<p> </p>
<p>Are you able to change your SQL so that it will return the following so that all months are part of the output?</p>
<pre class="_prettyXprint _lang-">
Month Actual_Months Reported_Months
1 1 1
2 1 0
3 0 1
4 1 0
5 1 2
</pre>
<p> Then, you can use the first column (Month) as the X-Axis.</p>
<p> </p>
<p>Series 1: SUM of Actual_Months</p>
<p>Series 2: SUM of Reported_Months</p>
</div>
</blockquote>
<p>Hi Wong</p>
<p>actually i cannot join those 2 results . because both include aggregation function.</p>
Clement Wong
<p>Are you able to use UNION in your SQL statement?</p>
Namchinbum Ganbat
<p>already did. thanks dear a lot</p>