Bar char pareto
Hi,
I want to display a bar chart(not column) that allows a pareto sorting of the bar values on the Y axis.
Any suggestions?
Hi Joe,
In Reporting Services, a Pareto chart can be defined as a column chart with the columns sorted in descending order, because there is a CustomAttributes (ShowColumnAs) within column chart to sort the values and create a line automatically. However, there
is no such attribute within bar chart. Please refer to this article:
Pareto Charts in SSRS.
Besides, from this
article,
we can know “A series that is drawn as a line will not take up much space within a chart area. For this reason, line charts are frequently combined with other chart types such as column charts. However, you cannot combine a line chart with bar, polar, pie or
shape chart types.” So the bar chart and line chart cannot exist in the same chart area. For this reason, though we can sort the Y-axis values in descending order, we cannot create a trend line within the bar chart. So for your requirement, it can’t be achieved
currently.
Best regards,
Qiuyun Yu
Qiuyun Yu
TechNet Community Support
Similar Messages
-
Hi Experts,
I create a bar char and I need to specify a color for each bar. Is possible to change the color of the bar on bar char?
I tried on additional properties and I don't see the way, I suppose I would need a css code but I didn't found how to do it Do you know how I can change them?.
Thank you !Thank you Tammy
I found there the way to do it:
customChart1 g.v-column g.v-datashape:nth-child(1) rect.v-datapoint.v-morphable-datapoint {fill: orange;}
customChart1 g.v-column g.v-datashape:nth-child(2) rect.v-datapoint.v-morphable-datapoint {fill: red;} -
Line chart and Bar char Mouse Over
Hi All,
I have to plot Bar chart with Material is on X-axis and Cost is on Y-axis, I am able to do that.
But when mouse put over the bar in the chart it should be showing the Material Description .
Could you please any one help me.
Material Material Desc Cost($)
10000 xxxxxxxxx 10,000
10001 xxxxxyyyyy 10,000
Thanks
MuvvaHi,
I think, there is no direct solution.
There is a workaround.
1. Disable mouse over Test.
2. Enable drildown on mouse over and use that index to identify column which user selected.
3. Display Material Description and Value using label components.
But the issue is ,we have to identify a placeholder in graph to display these values.
Regards
Baby -
Updating bar char color with changing temperature values
hello everyone. I am actually reading a temperature sensor and plotting the data as a bar chart. I am acquiring the data every second and present them in a bar chart. the challenge is to show different color on the bar chart as the temperature goes from safe to dangerous.when the reading are safe the chart should be red, when fair the chart should be orange and when dangerous red.I am using Labview 2012.I need to get started as I am actually learning the software.
looking forward for hearing from you guys.
Yannstephen
Solved!
Go to Solution.Using a range to define a set value is something that comes up fairly often. Below are two solutions that can apply to you. The first uses logic operators and will work as intended.
However there are downsides to consider: What happens if you decide to add more ranges that have different meanings? This solution does not scale well, and will become very cumbersome to maintain. The second solution addresses this issue by using a Case Structure. Note that the case structure only accepts integer values in the selector terminal. You can read up on the implemented workaround here.
Hope this helps!
-Nate
Nathan M.
Applications Engineer
National Instruments -
Interpreting results - difference between bar char...
Hi,
I'd like some help interpreting the results of my recent BT speedtest
The results said that my max achievable is 2000kbps and that my DSL connection rate is 5008 kbps (or thereabouts)
I thought the DSL connection rate was the max achievable - so why the barchart figure only going to 2000kbps
I'd appreciate any explanation/help anyone might be able to provide
Thanks
DominicThanks...yes
FAQ
Test1 comprises of Best Effort Test: -provides background information.
Download Speed
1608 Kbps
0 Kbps
2000 Kbps
Max Achievable Speed
Download speedachieved during the test was - 1608 Kbps
For your connection, the acceptable range of speeds is 400-2000 Kbps.
Additional Information:
Your DSL Connection Rate :5088 Kbps(DOWN-STREAM), 448 Kbps(UP-STREAM)
IP Profile for your line is - 1750 Kbps
So my question is why is the max achievable speed at 2000 kbps but the DSL connection rate is 5088kbps - I have a PlusNet teleworker contract that goes up to 8mbps. BTW, I'm working on various ways of getting the IP Profile up - changing telephone, router etc to find out why the IP profile isn't nearer the max speed.
Thanks for any insight here -
Bar chart get "Object required" error
I create a bar char which group by Data Time filed, I uncheck "Continuous time Series", select "Use time groups" and select Hour(Quantity=2).
Count another filed as chart values.
View the report. If I insert a time which in an un-existed series, it will get "Object required" error.
e.g: if there are time : 6:00, 4:00, when i insert a time 6:00, it works well, but if i insert a time 2:00, it get errorJeffrey,
Did you manage to find a workaround for this? Or has it been confirmed as bug?
Reason I ask is because I am facing the same problem, but with a line graph (also using time series). I am also using 11.1.12. I only get the error when the chart is receiving its first value i.e. the chart is in 'No Values' state, but then data is inserted into the Data Object, which will then update the View Object for the first time.
After I click 'reprompt', everything is back to normal and the view object displays the correct output following the insertion of the data into the data object. Subsequent data in the data object is then correctly picked up and displayed. The problem seems to be the initial data values.
Regards -
CSS Bar Chart [Plug-in] in P-Track Packaged application
Hello,
In the P-Track Packaged application we have CSS Bar Char Plugin REGION. If we change the theme of that application into the Theme 23, that plugin Region loses some CSS rules. In other words, it loses its beauty. Anyone knows how to get this plugin to work find on the Theme 23 ???
Regards,
FatehHello,
In the P-Track Packaged application we have CSS Bar Char Plugin REGION. If we change the theme of that application into the Theme 23, that plugin Region loses some CSS rules. In other words, it loses its beauty. Anyone knows how to get this plugin to work find on the Theme 23 ???
Regards,
Fateh -
Hi,
Could somebody pls help me to crate a 3d Stacked bar char.
select * from (
select COUNTRY_NAME, VALUE, PARENT_SECTOR
from temp where AGR_TYPE = 'LOAN' and Status = 'ACTIVE'
pivot
SUM(VALUE)
for Parent_SECTOR in(1"Transport",2"Telecomm",3"Agriculture",4"Ind.&Mining",5"Energy",6"Water&Sew",7"Social Services",8"Other Sectors")
order by COUNTRY_NAME
Total 17 countries and 8 sectors.
Thanks
RibhiHi Dimitri,
I tried the example you mentioned in your post, It works fine, by query is giving me only one bar for one country. I want to see country names in X anf Values in Y and Sectors for each country I have total 17 countries and 8 sectors.
my query:
SELECT e.country_name lavel,d.name sector,
SUM(DECODE(d.name,'Sector', e.Value, e.Value)) Total_amt
FROM af_doc_loans e, sector d
WHERE d.serial_number = e.Parent_sector
GROUP BY d.name,e.country_name
order by 1
Your help will be appreciated.
Thanks,
Ribhi
Edited by: Ribhi on May 15, 2009 4:20 PM -
Hi developers,
we have a little problem concerning smartforms.
We should print, using smartforms, some barred chars (just like 'u can do with MS Word when you write chars with a line across them). The font is OK: we don't need to use a different one, the size is ok too etc...
The only thing is we don't know how to output a barred sequence of chars.
Thanks to everybody.Hi
By using '<b>Underscore</b>', you can achieve the effect of <b>'strike through'</b> in Smartforms.
Refer this (Page 22)
http://www.sap-press.com/downloads/h955_preview.pdf
Regards
Raj -
How to join 2 tables with unequal rows without resulting in a cartesian join
Hello,
This is the first time I have ever posted in any forum so please tell me if I should be doing this better.
Basically I have 2 tables with an unequal number of rows. For demonstration purposes, assume these are my 2 tables:
Table 1:
BaseKey
Letters
A
A
A
B
A
C
B
A
B
B
Table 2:
BaseKey
Numbers
A
1
A
2
B
1
B
2
B
3
I need to join them so that the data would appear like this
BaseKey
Letters
Numbers
A
A
1
A
B
2
A
C
null
B
A
1
B
B
2
B
null
3
Does anyone have any ideas how to do this using T-SQL without creating a cartesian join of 12 rows?
Thanks.>> This is the first time I have ever posted in any forum so please tell me if I should be doing this better. <<
Please post DDL, so that people do not have to guess what the keys, constraints, Declarative Referential Integrity, data types, etc. in your schema are. Learn to follow ISO-11179 data element naming conventions and formatting rules. Temporal data should
use ISO-8601 formats. Code should be in Standard SQL as much as possible and not local dialect.
This is minimal polite behavior on SQL forums. What you did post is useless! Can you program from it? Neither can we. And we have to do all the extra typing for you.
CREATE TABLE Foo
(base_something CHAR(1) NOT NULL,
something_letter CHAR(1) NOT NULL,
PRIMARY KEY (base_something, something_letter));
INSERT INTO Foo
VALUES ('A', 'A'),
('A', 'B'),
('A', 'C'),
('B', 'A'),
('B', 'B');
CREATE TABLE Bar
(CHAR(1) NOT NULL,
something_digit CHAR(1) NOT NULL,
PRIMARY KEY (base_something, something_digit));
INSERT INTO Foo
VALUES ('A', '1'),
('A', '2'),
('B', '1'),
('B', '2'),
('B', '3');
>> I need to join them so that the data would appear like this
base_something Letters Numbers <<
This looks like you are taking two decks of punch cards and merging them together, without any logical rules, just physical position in their decks relative to the base_something groups.
WITH Foo_Deck
AS
(SELECT base_something, something_letter,
ROW_NUMBER()
OVER (PARTITION BY base_something
ORDER BY something_letter) AS card),
Bar_Deck
AS
(SELECT base_something, something_digit,
ROW_NUMBER()
OVER (PARTITION BY base_something
ORDER BY something_digit) AS card),
SELECT F.base_something, F.something_digit, B.something_letter
FROM Foo_Deck AS F
LEFT OUTER JOIN
Bar_Deck AS B
ON B.base_something = F.base_something
AND B.card = F.card;
--CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
in Sets / Trees and Hierarchies in SQL -
[Help] Gauge as master table in master-detail links
I am working on master-detail links POC these days. Found most of views work as a master view or a detail view. But found Gauge only works for a detail view. Never succeed to make it work as a master view.
Checked the Oracle documents. They do say Gauge can be. So anybody has the success experience and could share how to make that?
I built one Bar char, one Pivot Table and one Gauge as the master views and one normal table as the detail view in one analysis. All work well but Gauge. It's a bug?
OBIEE Version: 11.1.6.8 and 11.1.7.0
Edited by: AlexHu~ on May 14, 2013 2:15 AM
Edited by: AlexHu~ on May 14, 2013 2:16 AMAnyone encountered same issue as me?
-
Wow, the world of special characters and entities rivals
mod-rewrites as
a black art...
I've long used &-#-8-2-1-7; (without the hyphens) to
represent
apostrophes in my articles, until David Powers informed me
that that's
actually the code for a right single quote (complemented by
the single
quote on the left).
That launched me on the surprisingly difficult quest to
discover exactly
WHAT people use to represent apostrophes. I was finally told
to use
this... I don't know how it will show up in this post,
but it looks
pretty much like a stick-figure apostrophe leaning slightly
to the
right. Here it is again, to the left of a stick-figure
apostrophe: '
Anyway, I began replacing the apostrophes in my articles.
Today, I began
previewing some of my revised articles, only to discover that
Opera
doesn't like my new apostrophes. They looked fine in Firefox
and Safari,
but Opera displayed them as tiny black diamonds with white
question
marks. When I viewed the source code, they looked like tiny
squares.
Here's where it gets really weird: A few hours later, I
looked at my
pages in Firefox and Safari again, and they had also gone
bad. Safari
displays the apostrophes as black diamonds in both the text
and source code.
I have this in the head section:
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
Does anyone have any ideas what's going on? I'm about ready
to go back
to using &-#-8-2-1-7-; at least it works, and it can be
copied and
pasted between programs. My pages validate with it, so it
must not cause
any technical problems, right?
Thanks..oO(David Blomstrom)
>OK, I went back to latin1_general_ci and &#-8217;,
and everything seems
>to be OK. However, I'm going to take your advice and
implement some
>additional changes, like changing the collation on my
text fields to utf8.
Not only the collation, but the charset. Might take some time
to get
used to it, though, but IMHO it's worth it. Once you got it
all running
with UTF-8, it simply works.
>Michael Fesser wrote:
>
>> My text columns are all defined as UTF-8 (utf8 in
MySQL - note the
>> missing dash) without an explicitly defined
collation, so it defaults to
>> utf8_general_ci, e.g.
>>
>> CREATE TABLE foo (
>> bar CHAR(40) CHARACTER SET utf8 NOT NULL DEFAULT '',
>> ...
>> ) ENGINE=InnoDB DEFAULT CHARACTER SET latin1;
>
>I just created my first table via SQL ever after copying
the following
>code from a tutorial:
>
>CREATE TABLE people (name VARCHAR(30), age INTEGER,
height FLOAT, date
>DATETIME)
>
>Then I tried your code, but it appears that I need to
replace ... (on
>the third line) with something relevant - but I'm not
sure what.
It was just a snippet from a real query (with another table
name of
course ...) Usually there are some more columns, a primary
key
definition, maybe some indexes and foreign key constraints
and so on - I
simply stripped all that stuff in the example above. That was
the '...'
part.
>May I
>ask how I can modify your script so it works as is?
In its most simple form this should do:
CREATE TABLE foo (
bar CHAR(40) CHARACTER SET utf8
I usually declare some more things, for example the used
storage engine
and the default charset for the table, just to be sure and
independent
from the server configuration. You can safely ignore them for
now.
Given your own query from above, I would write it like this
(just
reformatted for legibility, one column definition per line):
CREATE TABLE people (
name VARCHAR(30),
age INTEGER,
height FLOAT,
date DATETIME
Making the 'name' column UTF-8 is pretty easy then:
CREATE TABLE people (
name VARCHAR(30) CHARACTER SET utf8,
age INTEGER,
height FLOAT,
date DATETIME
>Also, isn't there some way to display an existing table's
code using
>phpMyAdmin? In other words, if you have a table named
table_animals, you
>could open it, then somehow display a CREATE TABLE
statement that you
>could use to create an identical table in another
database.
>
>I checked in SQL, Export and Operations but didn't find
such a function.
I usually don't use phpMyAdmin, I prefer the command line. On
the MySQL
command line you could do a query like
SHOW CREATE TABLE table_animals\G
to get the full CREATE statement that was used internally by
MySQL to
create that table. Then there's also the powerful tool
mysqldump, which
can be used to dump a table structure to screen or into a
file:
mysqldump -uUsername -p -d DatabaseName table_animals
You can also use phpMyAdmin to get such a dump, but you'll
probably have
to copy the CREATE statement from it by hand. I don't know if
there's an
export option to only dump the table structure and not all
the data
(this is what the -d parameter does if you do it on the
command line).
>So in other words, I should do something like this?:
>
>* * * * *
>
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN"
>"
http://www.w3.org/TR/html4/loose.dtd">
><?php
>header('Content-Type: text/html; charset=UTF-8');
>?>
><html>
><head>
><meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
><title></title>
>
>* * * * *
>
>I'm assuming the header thus inserted renders <meta
>http-equiv="Content-Type" content="text/html;
charset=UTF-8"> somewhat
>redundant, but I should probably hang on to it anyway,
right?
Correc, it is redundant. Dreamweaver always inserts it by
default and it
doesn't hurt anyway, but it's usually pretty useless. Its
only real use
is if the document is served to a browser without a server,
for example
a local copy stored on disk. But if the page is delivered by
a server,
then the HTTP header matters and always takes precedence.
It's safe to
use both the HTTP header and the meta thingy, just make sure
that both
have the same value.
>You also wrote, "The second thing can be solved by
sending this query
>right after connecting to the DB::"
>SET NAMES 'utf8';
>
>"This sets the connection encoding between the DB and
your script."
>
>How do you do that "SET NAMES utf8"? Or is that what this
is all about?...
>
>header('Content-Type: text/html; charset=UTF-8');
Nope, this is HTTP, not MySQL.
There are at least four places in MySQL where a character
encoding is
taken into account: the database, the tables, the columns and
the
connection to the client/script. All these encodings can be
defined
independently if necessary, but what really matters in
practice are the
encodings used in the table columns (as shown in the examples
above) and
the connection encoding. For example MySQL is able to store
the data as
UTF-8, but deliver it as something completely different to
your script.
We usually don't want this, so we set the connection encoding
to UTF-8
as well. This is done with the mentioned query. You should
send it as
the first query after establishing the connection to the DB:
mysql_connect(...);
mysql_query('SET NAMES utf8');
This ensures that all following data transfers between your
script and
the database will handle the data correctly as UTF-8 and
won't change
its encoding.
And simply spoken the header() call just does a similar thing
for the
way between your script and the user's browser:
SET NAMES utf8 header('Content-Type: ...')
DB ----------------> PHP Script
-----------------------------> Browser
It probably sounds more complicated than it actually is. ;-)
Micha -
I am currently working on a program that creates mulpitple reports rom which the end users would like to be able to create graphs and charts. I have been looking into it, but can't find a clear answer as to what options, other that exporting an ALV to excel, that would do this. Does anyone know of any good options for creating bar charts/ pareto charts/ other types of data-driven graphics that SAP functionality allows for, or any good solutions that anyone has come across for adding charts and graphs to dynpros. Thanks for your help.
Dear Mr. zmwhite,
Try using the Class CL_GUI_CHART_ENGINE.
Pleae go through the following Link, i think this should solve your problem.
Creating charts without using XML classes
Regards,
kartik -
Hi All,
I would like to draw a chart which would display number of projects owned by an analyst.
I have used the following queary:
SELECT NULL LINK,
project_modified_by Analyst,
count(*) Projects
FROM dm_project
GROUP BY project_modified_by
which works fine...
However my "project_modified_by" column is just numbers related to real user names in another table.
How can I change the numeric values under each graph into an LOV value so that instead of 23 45 78 under each bar char I would see John Frank Lindy ?Yes. Outer-join your two tables like:
SELECT NULL LINK,
CASE WHEN a.person_id IS NULL THEN 'Other'
ELSE a.PERSON_FIRST_NAME||' '||a.PERSON_LAST_NAME
END Analyst,
count(*) Projects
FROM dm_project dp, dm_users a
WHERE dp.project_modified_by = a.person_id (+)
GROUP BY CASE WHEN a.person_id IS NULL THEN 'Other'
ELSE a.PERSON_FIRST_NAME||' '||a.PERSON_LAST_NAME
ENDMike -
Workbook General Practice Question
When query is changed & for the same to be reflected on to Workbook " Save Workbook " is done Overriting the old one.
I did some changes to the workbook like Pasted Logo, Deleted Information Bar & Char , Added buttons Refresh & Change Variables - Now when I do " Save Workbook " changes done to the workbook will be lost .
<b>How does it workout in general practice , will the user have to see things like "Author ", " Status of data " ( Information & Chart bar ) etc ?</b>Are you not able to save the changes made to the workbook?
If that is the case....there may be some other issue.
Otherwise it would save any changes you made to the workbook.
While opening the workbook.....you can click on one of the buttons and get:
Last modified date & time
last modified userID
Regards, BB
Maybe you are looking for
-
Scanner Error 22 on HP Color LaserJet Pro
I am having the same problem that I see in the community news feed. I was able to scan about 4 documents and now I'm getting the Scanner Error 22 problem. Can you please send me the solution to fix this error? Thank you!
-
SAP Netweaver Portal - Folder structure and report publishing strategy
Hi gurus, I'm working on a project in which we are publishing BW reports in SAP Netweaver Portal (prior to this, we were using SAP Bex Browser) organizing it by Department (workset, 2nd lvl of navigation), Business Processes (workset, 3rd lvl of navi
-
[Solved] No Route to Host but Internet is fine
Hi, Im trying to install tcpdump and getting this error; bash-3.2# pacman -S tcpdump resolving dependencies... looking for inter-conflicts... Targets (1): tcpdump-3.9.8-1 Total Download Size: 0.26 MB Total Installed Size: 0.57 MB Proceed with install
-
Error in form submit through netui:anchor tag onClick event
Hello, I am working on a portal application. Below is my jsp code of a simple search screen. The search parameter is customername. <netui:form action="searchCustomer" style="form" tagId="myForm"> <netui:textBox dataSource="{actionForm.customerName}">
-
AkAttachmentCategory sort order
Hello! I tried to change sort order of drop-down menu form ASC to DESC. But with no results. By dafault sort was disabled so I changet it to descendig, but nothing changed. <customization xmlns="http://xmlns.oracle.com/jrad" version="9.0.5.4.89_560"