Solved

Can you create a stacked chart with two data values in same field e.g. Feild1 =5,6

Posted on 2013-01-29
2
458 Views
Last Modified: 2013-01-30
Can you create a stacked chart with two data values in same field e.g. Feild1 =5,6
So I want to create a stacked chart with each field as the catagory name and the two stacked values being e.g. 5 and 6?
Can it be done?
0
Comment
Question by:bruskhickory
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 22

Expert Comment

by:Nico Bontenbal
ID: 38834102
I think the answer liija gives you to this question is the best option to solve your problem:
http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/MS-SQL_Reporting/Q_28013323.html
0
 
LVL 6

Accepted Solution

by:
liija earned 500 total points
ID: 38834207
In your case, if you have fixed two digits in your column, a simple query might be enough:

SELECT
SUBSTRING(Field1, 1,CHARINDEX(',', Field1)-1) AS Decimal1,
SUBSTRING(Field1, CHARINDEX(',', Field1)+1, LEN(Field1)) AS  Decimal2
FROM YourTable

If you have more complexity, like varying quantity of digits in your column, you'll need some more logic.
0

Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A recent question popped up and the discussion heated up regarding updating a COMMENTS (TXT) field in a table using SSRS. http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/MS-SQL_Reporting/Q_27475269.html?cid=1572#a37227028 (htt…
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question