Hello there,<br />
I've encountered a problem while making a good dataset for my pie chart. The table which im making the request to looks like that:<br />
<img src='
http://www.ljplus.ru/img4/s/z/szche/table.GIF' alt='Posted Image' class='bbc_img' /><br />
<br />
And the request i made looks like that:<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>SELECT COUNT(WORKORDER.COMMODITY), WORKORDER.COMMODITY
FROM WORKORDER AS WORKORDER
GROUP BY WORKORDER.COMMODITY</pre>I tested this query and it gives me out the good results i like. It displays a column with commodity name, and a column with number of rows this commodity has been seen (their count). For the sample i provided above it would show<br />
<br />
ADM14 - 8<br />
ADM05 - 3<br />
ADM01 - 2<br />
<br />
That's what i think i need for the pie chart, isnt it? But that query i made just doesnt works at all in birt, showing no errors and returning no data, though if i remove the commodity name selector and grouping counting alone works just fine.<br />
<br />
The question is:<br />
How do i make a pie chart where each slice represents the number of commodities seen across the table?<br />
<br />
Thank you in advance, i tried to write the first help request as clear as possible