Different sort order with line chart and stacked column chart
Hi,
I have a problem with sorting within flash charts.
The chart should be ordered by a date column.
If I'm using a line chart everything is fine. The columns in the chart are in the same order as returned by the query.
If I change the chart type to stacked column chart, I get a wrong order.
It is orderd like 5, 6, 7, 8, 9, 10, 1, 2, 3, 4.
What's wrong?
Here the query i use:
SELECT NULL AS link,
TO_CHAR (zeitpunkt, 'dd.mm.yyyy'),
MAX (DECODE (db_sid, 'TI06E', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI06E",
MAX (DECODE (db_sid, 'TI06T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI06T",
MAX (DECODE (db_sid, 'TI14S', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI14S",
MAX (DECODE (db_sid, 'TI14T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI14T",
MAX (DECODE (db_sid, 'TI16T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI16T",
MAX (DECODE (db_sid, 'TI24K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI24K",
MAX (DECODE (db_sid, 'TI33T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI33T",
MAX (DECODE (db_sid, 'WF03E', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF03E",
MAX (DECODE (db_sid, 'WF03K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF03K",
MAX (DECODE (db_sid, 'WF03T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF03T",
MAX (DECODE (db_sid, 'WF05K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF05K",
MAX (DECODE (db_sid, 'WF05T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF05T",
MAX (DECODE (db_sid, 'WF06T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF06T",
MAX (DECODE (db_sid, 'WF07K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF07K",
MAX (DECODE (db_sid, 'WF07T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF07T",
MAX (DECODE (db_sid, 'WF08K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF08K",
MAX (DECODE (db_sid, 'WF08T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF08T",
MAX (DECODE (db_sid, 'WF09K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF09K",
MAX (DECODE (db_sid, 'WF09T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF09T",
MAX (DECODE (db_sid, 'WF10K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF10K",
MAX (DECODE (db_sid, 'WF10T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF10T",
MAX (DECODE (db_sid, 'WG04T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WG04T",
MAX (DECODE (db_sid, 'WT05T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WT05T"
FROM db_performance_temp
ORDER BY zeitpunkt ASC
SQL> desc db_performance_temp
Name Null? Typ
ZEITPUNKT DATE
DB_SID VARCHAR2(30)
VALUE NUMBER
I found the solution.
Anychart seems to have a problem with null values!
The corrupted sorting only occured for a specific set of search criteria and a specific day. At this day some values have been null.
I added a "nvl( [...], 0) for every value.
No I get a correct sort order.
Similar Messages
-
Line chart and Stacked Bar Chart
Hai,
I am creating report in line chart view.I want to know wheather it is possible to get data of Same column to be populated as different lines.
And also to get data of Same column to be populated as different stacks in the stacked bar chart .
Thanks in advance...Hello
You have to just select the column for grouping and the same col for aggregate field plotting. This is standard function, and I think this is straight forward. -
Stacked Column Chart with Line
Hi
I need to Create a Stacked Column Chart representing 1 set of measures with a Line representing a target.
I want to create a chart where the Sales Amount in different Sectors is represented as a stacked column and the targets are represenetd as a line.
Currently BO supports Bar charts with line.
Does anyone know if such a feature will be supported in the new release of BO XI. Also is it possible to raise a request for this feature to be included in the new release
TIAWe are also a 30 persons department (Marketing) using in the same BO charts (since 2001) quarters made of :
- first single column ( 2014 billing in a query1)
- second stacked column (2015 billing +2015 firm orders backlog, 2015 frame orders backlog in a query2)
- third single column (2016 backlog in a query3)
and a superposed budget line
the first and the third column are offset respectively to the left and right of the second column by blank and dummy single columns of data called ghost1 and ghost2. 2016 is still empty here but the principle is clear.
This principle is used liberally in 200 + different reports. Also with transparent columns and other complicated, but graphically intuitive reports.
How can we continue to use this very natural representation of our several hundred million $ business. I have not found the mixed single column, stack column and line option in BO XI 3.1 . Please re-develop one asap if necessary. SAP should please please report asap on the recovery timeline of this lost feature. The switch from Visual Basic development to Java development should not lead to regression of any feature.
Regards.
Jean-Marc Imbert
Marketing manager -
Stacked Column Chart with Lines
Requirement:
User stacked Column chart to display data for defects for 4 departments.
1 or 2 lines to show baseline for defects(constant).
Is there anyway that I can do that just like we can create one in Excel?
(stack a Stacked column chart with a line chart is not a solution.)
Any advises?
Thanks,
WenHi Wen,
I realise that you are not going to get this to work with a standard component on its own. I think it might be possible to acheive it with overlaying barcharts and combination charts.
My assumption is that you are looking for something that has a stack with 3 separate items in it. Two target lines crossing over the stacked chart.
I will have a look at this to see if I can come up with something. Let me know if this is not your requirement.
No, I don't work for SAP. I think those that do have the SAP logo beside them.
Regards
Alan -
Lines and shading on stacked column chart
I have created a waterfall chart using a stacked column chart. I have made Series 1 white so that the bars appear to "float" . So far so good. the issue is that the white bars in the default setting have light shading and lines around the outsides. There seems ot be no way to turn that off. The only solution I found was to change the Theme to ITheme. Then the shading and lines go away and I can change the colours how I want them...but of course that theme is now applied to my whole dashboard and I lose all the nice shading effects on the other elements.
Surely all the themes do is apply formatting that must be possible to do manually...I just cant see any option on a stacked column chart to change the shading or lines round the boxes. I have an example chart I can share if required
Any suggestions gratefully received!
Thanks
TomCreating a custom chart is not a simple thing (think days, not minutes), and not done within Xcelsius. The group of technologies to do this are referred to as the Xcelsius SDK, there is a dedicated forum on this site here: Flex SDK Development
Have fun! -
Stacked Column Chart (Total and Combination Chart)
Hi,
I tried to find the answer at old posting, but failed to find proper solution.
So here I go again with the same old problems:
1. Any method / trick to display total on top of each stacked column ?
(Label is not an option, since it is static and will not move following the height of the stacked bar).
2. Any method / trick to combine stacked column chart with line chart ?
(Overlay is not an option, because I think it is too tedious to play around with color and border)
Thanks for the bandwidth.
Regards.
NB: Are there any XCelcius add-on for those 2 functions ?Hi Yudie,
Can you get compromised in the following way ?
In the X Axis labels, you can get the values concatenated dynamically and displayed. Example given below:
2008 2009 2010
P180 P250 P280
A172 A263 A265
Whereas P denotes to Plan and A denodes Actuals. Above to this labels stacked colum wil be there as usual.
Consider and revert, in case you need any more clarification on this.
Keep posting.
With best wishes
BaaRaa.
Edited by: Baskar Rajagopalan on Feb 23, 2011 3:36 PM -
Combined Side-by-Side and Stacked Bar Charts
I need to create a chart with side-by-side stacked bar charts with one additional level of detail than appears to be available. I have Crystal X.
I need to show 2 bars for each customer and each bar needs to have 12 months of sales within the bar - each month a different color.
I can create 2 stacked bars - one for each year. I can also create side-by-side bars - one for each year by customer.
But I cannot seem to combine them. Any ideas?
Thank you in advance for your assistance.CR charts are very limited on what you can put in a chart. There have been several posts to the CR Idea Forum on this subject. You may need to do seperate charts.
-
Exporting from Lightroom 1.3: Different sort order than defined in Grid view
Just did an export from Lightroom 1.3 and ended up with a the wrong export order.
Here is what I did.
1. Create a collection
2. Drag the pictures I want to export into that collection
3. Select: Sort: Import order (In lightroom grid view - the sort order was correct)
4. Export from Lightroom with "Userdefined name - sequence"
The result is a total different sort order than I can see in the Lightroom Grid view.
Very annoying.
Any ideas?
Also - in the new export dialog there seems to be no option anymore to CHANGE a user-defined export like in the previous version. What do you do if you want to change something?
Overwrite with the same name?
Remove old export and add the new one changed?
greetings
gfischAre you seeing this only in Lightroom? They are not 'still in the parent, Germany folder.' only visible their if you have 'Include Photos from Subitems' checked in the Menu/Library of Library.
Uncheck that you you will only see them in their correct folders.
Don
Don Ricklin, MacBook 2Ghz Duo 2 Core running 10.5.1 & Win XP, Pentax *ist D
See LR Links list at my
Blog for related sites. -
Drill Down between 2 stacked column chart with multiple rows.
Hi,
Can anyone please help me.
1) i have to create stacked column chart with Region and cout of calls for previous 3 quarters.
2) the 2nd stacked column should display the priority with the count of calls for the respective selection of region on the 1st chart..
to achieve this,
i'm using 2 stacked column charts and 1 lebel baseb menu.
from this i can able to get the drill down from label based menu to 2nd stacked column chart but i couldn't able to done the same from 1st stacked coumn chart.
Becoz my data is multiple row for each quarter.
please suggest me to achieve the drill down between 2 stacked column charts.
assume that my data like below.:
coulmns for 1st stacked column chart : Region, Q2,Q3 &Q4
Region Q2 Q3 Q4
Other 3658 3497 497
NA - North
America 3 3 1101
APJK 1 4 597
UK 324
EMEA North 1 1 288
CORPORATE 1 5 215
LA -
Latin America1 2 208
EMEA 1 199
EMEA South 1 1 169
Coulmns for 2nd coumn chart: Region, Priority, Q2,Q3,Q4 ()which is derived from 1st table.
Region Priority Q2 Q3 Q4
Other D: End of Next Day 1568 1613 239
Other C: End of Day 983 893 119
Other A: 2 Hour 631 610 70
Other B: 4 Hour 396 318 56
NA -
North AmericaD: End of Next Day 2 2 514
APJK D: End of Next Day 3 297
NA -
North AmericaC: End of Day 284
NA -
North AmericaA: 2 Hour 1 170
UK D: End of Next Day 157
APJK C: End of Day 1 1 152
Other E: 3 - 5 Business Days 68 58 13
EMEA North D: End of Next Day 1 136
CORPORATE D: End of Next Day 4 107
NA - North America B: 4 Hour 1 104
LA - Latin America D: End of Next Day 1 1 86
EMEA D: End of Next Day 86
UK C: End of Day 85
APJK A: 2 Hour 79
EMEA South D: End of Next Day 72
EMEA North A: 2 Hour 69
EMEA North C: End of Day 56
APJK B: 4 Hour 55
EMEA C: End of Day 1 53
LA - Latin America C: End of Day 54
UK A: 2 Hour 49
EMEA South C: End of Day 1 44
CORPORATE A: 2 Hour 1 43
CORPORATE C: End of Day 44
LA - Latin America A: 2 Hour 1 42
EMEA South A: 2 Hour 1 32
EMEA B: 4 Hour 30
UK B: 4 Hour 30
EMEA A: 2 Hour 27
EMEA North B: 4 Hour 1 26
NA -
North AmericaE: 3 - 5 Business Days 25
LA - Latin America B: 4 Hour 23
EMEA South B: 4 Hour 20
CORPORATE B: 4 Hour 17
APJK E: 3 - 5 Business Days 13
Other F: 6 - 10 Business Days 6 4
Other G: 11 - 20 Business Days 6 1Hi Srinivas,
I'm using label based menu "filterd rows" only but i couldn't bind the drill down with the 1st stacked column chart.
for mor details:
1) i'm having 2 stacked coumn charts & 1 lebel based menu but eventhough i couldn't able to achieve.
if i select the lebel based values then the 2nd stacked column charts is giving detailed valus but if i keep my mouse on the 1st stacked column chart the there is no changes on the 2nd chart..
somewhere i'm mising the binding data between 1st stacked coumn chart & lebel based menu on drill down part.
Becoz i'm having multiple rows. so can you please try your and send me the xlf file using your concept. -
Help Creating Dynamic Stacked Column Chart with Multiple Criteria
Hi all. Im new here and hoping you can help. I have a dashboard Im trying to rebuild from scratch (our computer had a meltdown and we lost all our files). I did not build the dashboard initially so Im trying to recreate it from the flash file we were able to recover. I have come across a chart that I just cannot figure out how to do. I can figure out how to write an array in the Excel sheet that pulls the data into a table the way I need it to be but found out after I wrote that that Xcelcius doesn't support arrays so all my data disappears when I go into preview mode (which is especially frustrating since I can see the chart working fine in design mode). Anyway this is what the data table looks like
Month Year Company Positive # Negative # Neutral # Positive % Negative % Neutral %
October 2011 CompanyA 1234 1234 1234 10 10 10
October 2011 CompanyB 1234 1234 1234 10 10 10
October 2011 CompanyC 1234 1234 1234 10 10 10
October 2011 CompanyD 1234 1234 1234 10 10 10
November 2011 CompanyA 1234 1234 1234 10 10 10
November 2011 CompanyB 1234 1234 1234 10 10 10
November 2011 CompanyC 1234 1234 1234 10 10 10
November 2011 CompanyD 1234 1234 1234 10 10 10
December 2011 CompanyA 1234 1234 1234 10 10 10
December 2011 CompanyB 1234 1234 1234 10 10 10
December 2011 CompanyC 1234 1234 1234 10 10 10
December 2011 CompanyD 1234 1234 1234 10 10 10
The original chart was built so that you would choose the month from a combo box and then the company names would show up along the X axis with their % amounts shown in the stacked column. I know how to make a combo box work and I know how to make a stacked column chart work with static data. I cannot for the life of me figure out how to get it to work so that when you choose the month from the combo box it filters the data. I've tried filtered rows but I'm just missing some information that makes it work and I can't figure out what that information is. It has to be able to get the month/year combo from the combo box and then go to the table, filter it by month and year and then create a multi-row table of data with just the company and the percent values. Any help would be greatly appreciated!Which connection you are using?
IF quite difficult if you are working under static data. -
the same with the following description from another question:
"How can I display a total on top of each column on a stacked column chart (using
reporting services 2008)? If I use Data Labels I can display the
values for each part of the stack on a stacked column, but I want to be display the total.
For Example: If I have stacked column on chart with a value of 10 for the 1st stack, 20 for the 2nd stack,
and 20 again for the 3rd stack - I want to display 50 (the SUM total) as the data label on top of the entire column..."
and a solution for this would create a new column named SUM(category group), this can be done with data source from SQL server, but my data is from SharePoint site list. its query seems can't be changed which means I can't add a SUM column.
what should I do with this? Can anyone give me a hand?
thank you very much.Hi sophiexu,
If we want to display a total for each column on the top of a stacked chart, we can use a matrix control to display the column total value to work around this issue.
The following thread about how to simulate chart legend is for your reference:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/cfb4fa19-b2ba-426a-804b-b5ea83d70d62/ssrs-2008-chart-legend-missing-customitems-property
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
How do you combine a stacked column chart with a clustered column chart
Hello,
I am trying to combine a stacked column chart with a clustered column chart. I know that in Excel there is a way to trick that described on the next site: http://people.stfx.ca/bliengme/ExcelTips/Columns.htm
Is that possible with BI Publisher?
Thank you very much!
Codruta CrisanFinally I get it myself:
You need to use graph type as BAR_VERT_STACK2Y and the declare the series that you want to see on the first Y vertical bar as assignedToY2="false" and the ones that you wanr to see on the second Y vertical bar as assignedToY2="true".
In my case I use 4 Series, 2 stack on the first clustured column and 2 stacked on the second (2Y) clustured colum....see below
graphType="BAR_VERT_STACK2Y">
<SeriesItems>
<Series id="0" assignedToY2="false" color="#BBD6E7"/>
<Series id="1" assignedToY2="false"/>
<Series id="2" assignedToY2="true" color="#004A96"/>
<Series id="3" assignedToY2="true"/>
</SeriesItems> -
Report to Purchase Orders with Good Receipt and pending for Invioce Receipt
Hello,
I'm looking a report bring me Purchase Orders with Goods Receipt and waiting for Invioce Verificacion (MIRO).
I appreciate any help.
Regards,
HectorHi,
ME2N - In selection screen, enter Selection parameters as
WE102 i.e. Goods receipt exists and in output screen put a filter on "Still to be invoiced (qty)" and "Still to be invoiced (val.)" as not equal to zero OR greater than Zero.
OR use RECHNUNG i.e. Open invoices and execute the report
OR Use MB5S - GR/IR Balances -
Is it possible to make an order with danish keyboard and documentation
Hallo
I need a computer with danish keyboard so my question is
Is it possible to make an order with danish keyboard and documentation
Jesper NielsenYou can give each track its own artwork. iTunes will normally display the artwork of track 1 in album listings. The individual track art will show in the small window at the top of the screen when playing, or the artwork panel of the mini player, or the now playing window on a device. Try it and see.
tt2 -
How to display polygons both with line contour and filled interior?
How to display polygons both with line contour and filled interior?
Java3D 1.3, Java 1.4.1-rcHi,
I just started with Java3D last week.
I assume you mean drawing polygons with outlines (wireframe) in one color and polygon face filling with another color. If so, I've got the same question! (I usually think of "contour" to refers to plotting surface intensity of independent data like temperature or elevation, but I don't think you mean this.)
The only solution I've found so far is to make two shapes with the same geometry.
Here's an example - an outlined and filled cube. I made it using a generalize class DualShape which is two shapes with the same geometry, but one filled and one as a line.
It works, although I can't say I understand the setPolygonOffset(), knowing what value to set. Without the command, the depthbuffer can't consistently decide which should be in front between the fills and lines so it looks bad.
I certainly think it would be nicer to do both internally, like:
pa.setPolygonMode(pa.POLYGON_LINE || pa.POLYGON_FILL);
And then have setFillColor and setLineColor for each.
I don't know why they don't allow this - maybe OpenGL can't do it like this so Java3D follows.
If anyone has any better ideas I'd like to hear about it.
Tom Ruen
class DualCube extends DualShape // cube with outline and fill colors
public DualCube(float ax, float ay, float az, //cube lower corner
float bx, float by, float bz, //cube upper corner
float br, float bg, float bb, //border color
float fr, float fg, float fb) //fill color
setGeometry(new CubeGeometry(ax,ay,az,bx,by,bz),br,bg,bb,fr,fg,fb);
class DualShape extends BranchGroup //general shape with outline and fill colors
Appearance ap1,ap2;
PolygonAttributes pa1,pa2;
ColoringAttributes ca1,ca2;
Shape3D s1,s2;
public void setGeometry(Geometry geo, float br, float bg, float bb, float fr, float fg, float fb)
//filled shape:
addChild(s1=new Shape3D(geo, ap1=new Appearance()));
ap1.setPolygonAttributes(pa1=new PolygonAttributes()); pa1.setPolygonMode(pa1.POLYGON_FILL);
ap1.setColoringAttributes(ca1=new ColoringAttributes()); ca1.setColor(fr,fg,fb);
//lined (wire) shape:
addChild(s2=new Shape3D(geo, ap2=new Appearance()));
ap2.setPolygonAttributes(pa2=new PolygonAttributes()); pa2.setPolygonMode(pa2.POLYGON_LINE);
ap2.setColoringAttributes(ca2=new ColoringAttributes()); ca2.setColor(br,bg,bb);
pa2.setPolygonOffset(-1000); //Uncertain what "float" value to use!
class CubeGeometry extends IndexedQuadArray //cube geometry data
private static final int[] faces =
0,3,2,1,
0,1,5,4,
1,2,6,5,
2,3,7,6,
3,0,4,7,
4,5,6,7
private static float[] verts = new float[24];
public CubeGeometry(float ax, float ay, float az, //lower limit
float bx, float by, float bz) //upper limit
super(8, IndexedQuadArray.COORDINATES , 24);
int n;
n=0; verts[n]=ax; verts[n+1]=ay; verts[n+2]=az;
n=3; verts[n]=bx; verts[n+1]=ay; verts[n+2]=az;
n=6; verts[n]=bx; verts[n+1]=by; verts[n+2]=az;
n=9; verts[n]=ax; verts[n+1]=by; verts[n+2]=az;
n=12; verts[n]=ax; verts[n+1]=ay; verts[n+2]=bz;
n=15; verts[n]=bx; verts[n+1]=ay; verts[n+2]=bz;
n=18; verts[n]=bx; verts[n+1]=by; verts[n+2]=bz;
n=21; verts[n]=ax; verts[n+1]=by; verts[n+2]=bz;
setCoordinates(0, verts);
setCoordinateIndices(0, faces);
Maybe you are looking for
-
Hi, I'm working with Access 2010 (every solution should be OK for 2007 and later). When the user click on a Button to open a report with label, txtboxes, and an OLE for a Word, it first open a form where it can choose a) four 'order by' conditions, b
-
How to create a chart with parameter ?
hello, i would like to know if we can create a form with some parameter to fill, and when you submit, you can create a chart. Nowadays, we can create a chart with the assistant, but can we create a chart without it ?
-
I accidentally deleted my toolbar, is there a way to make it come back?
i have already quitted the app and i even restarted my computer i don't know what to do
-
Can MPEG folder be discarded after 'Build' has created Video_TS folder?
Hello, I am clearing things off my hard drive, and archiving. It appears that a video_TS file is self-sufficient file, and can be used at a later time to burn more DVDs. (I burn them in Toast.) I am confused about the folder that is created when I im
-
There was some discussion about defaulting layer groups blending mode being normal by default instead of pass through. While I do use a lot of smart objects as "normal" containers (albeit mostly to filter rather than blend), I'm interested in techniq