i wanna create two line types on the same graph. I'm using the following queries.
Code Block
select count(l.created) as LoanOriginationNumberPreApproved , convert(char( 11), l.Created) as PreApprovedDate
from LoanApplication l
where l.Status <> 'Cancelled'
Group by l.Created
and
Code Block
select count(l.SubmittedOn) as LoanOriginationNumber , convert(char( 11), l.SubmittedOn) as SubmittedDate
from LoanApplication l
where l.Status <> 'Cancelled'
Group by l.SubmittedOn
I combined these queries. I add clumns of the second query to select statement of first code. also added group by l.submittedon to group by l,created as group by l.created, l.submiited on. This is the problem.(I mean grouping)
But then SSRS does not allow me to put preaaproveddate and submitteddate to drop category filed?
Does anyone know how to do that?
I've successfully created a column bar graph that shows the availability (0-100%) for a given site for each month YTD. I would like to have fixed lines added to the graph across all the columns at the 99.0 and 99.99% marks to show where we've reached and surpassed these key service levels.
I can't seem to find any examples on how to do this. The line drawing tool doesn't always line up with the graph correctly when it's displayed so I was looking for a data point at those levels.
I have a following code to "draw" a "histogram" :-)
use tempdb go
declare @temp table (id int identity(1,1) ,valuess int)
insert into @temp (valuess) values (64) insert into @temp (valuess) values (12) insert into @temp (valuess) values (23) insert into @temp (valuess) values (45) insert into @temp (valuess) values (30)
select id ,valuess ,histogram = cast(replicate('*', valuess*0.4) as nvarchar(50)) ,length = len(cast(replicate('*', valuess*0.4) as nvarchar(50))) from @temp
order by valuess desc
Is there any better way to do it; maybe even a function?
I am working on a report which requires me to draw two polygons (rectangles) on a scatter chart to visually indicate "good" and "bad" ranges of plotted data. Is there a way to do this out-of-the-box?
Otherwise, if I must create a custom report item, how do I draw on the chart surface? I have looked at the following articles on Custom Report Items, but when I open the sample solutions I can't put the custom report items on the chart surface.
Our CLR stuff is running OK, as long as we do not touch the line:
using System.Drawing;
However, we do some image manipulation and then we get the error from SQL Server as
TITLE: Microsoft SQL Server Management Studio ------------------------------
Create failed for SqlAssembly 'ASP.IMAGE.CLR'. (Microsoft.SqlServer.Smo)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.3042.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Create+SqlAssembly&LinkId=20476
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
------------------------------
Assembly 'system.drawing, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a.' was not found in the SQL catalog. (Microsoft SQL Server, Error: 6503)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=09.00.3042&EvtSrc=MSSQLServer&EvtID=6503&LinkId=20476
I have a report that I need to export to PDF, when I do so and re-open the report, I get a message stating "A Drawing Error Occurred".
Plus when I have a textbox with a large amount of data, it always kicks to a different page, instead of print what it can fit on the previous page and the rest on the next page.
I am getting the a big redX when attempting to open a report in VS.NET 2005, "Deserialization failed: The type initializer for "Microsoft.ReportDesigner.Drawing.Language" threw an exception". Has anyone else get this error? Would you please share your solution to me?
I have VS2003 and VS2005 installed as well as SQL Server 2000 and SQL Server 2005 Tools. I have RS2000 and RS2005 installed. RS2000 works fine in VS2003. When using VS2005 and opening a Microsoft sample project for 2005, I get the error listed in the subject line.
When trying to create a new project and connecting to an Oracle database or a SQL Server 2005 database, I get the following error: "A connection cannot be made to the database. Set and check the connection string." The connection works fine when the test button is clicked, but fails when continuing in the wizard.
Any suggestions. We are trying to migrate from RS2000 to RS2005 and nothing in 2005 works.
Im a beginner here and i have a graph, in the graph I need to show the actual number that the graph is showing can i do this. My graph has numbers that go down the side from 5,000 to 0 in 1000, increments. Say the number is 2234 i need to show thatnumber in that graph somewhere. Can i do that?
Hey guys. I feel like the prodigal son that has returned. It's been while! In your experience, what is the most like kind of cause to the cpu graph sitting quite high most of the time along with a constant second graph line in red at around the 10% line.
I feel that my aim should be to get rid of the red line alltogether. I've got a few ideas, but I don't know for certain how to target that particular symptom. Any suggestions?
I run into problems where some metrics have value associated with dim attributes Markets where some don't have... The graph shows NaN, in the reporting services. Is there a way to get of NaN. something like filter out.
Hi everybody, I've been reading the book MCITP Self-Paced Training Kit (Exam 70-441): Designing Database Solutions by Using Microsoft SQL Server(TM) 2005 (Self-Paced Training Kits) as a part of my preparation for exam 70-441 The book is really clear, and I could understand everything easily because I've some experience as a database developer. Until now, there's only one thing that I didn't fully understand: On pages 53 and 54, it mentions a type of hierarchy called: a graph hierarchy, and it gives a small example made the things even more complicated I've many books about database design theories, but they don't use the term (graph hierarchy) any where... So, I appreciate if you can point me to an online resource or a book that discusses this term thorougly.
Hi, I have setup a chart with series on right hand side. The series is from one of the fields. How is it possible to remove series and instead place each series name on a graph line? Or at the very least, how can I place a text on each graph line? Thanks
I'm developing an application using SQL Integration Services and SQL Reporting Services. I need to have the ability to drill down from a graph created with Reporting Services.
Let me explain: If I have a pie chart, I want to be able to click in one of the slides and see the information details that could be in another graph or in a table.
I need to represent a graph in TSQL. The graph is directed. It is essentially a number of trees which all have various (non-root) nodes in common with each other.
trying to develop a report that shows the sum total for each month during a specified date range.
I have parameters asking for the start date and end date of the date range, the report needs to show the months in between this date range.
One of the fields in the dataset is durationminutes which I need to sum for each month then divide by 60 to show hours. I then need to show the total of each month in a bar graph (with each month along the x axis).
If anyone can shed some light on how I am going to do this it would be greatly appreciated.
In SSRS 2005, I have created a graph with x and y axis. On the graph there are several lines based on the sql query. The question is, how is it possible to place the last value in (y axis) on the last point of the graph line. Thanks
I dont know where to post this. I am hoping someone else has run into this in the past.
I have a report with a chart component that works fine in i.e and safari. In fire fox the chart is stretched really bad. If I right click on the image or press reload from the report toolbar the chart is correct.
Whats really odd is this happens only when the toolbar is visible.
A few months back i saw a sample rds file where there was a kind of line graph in a table cell that indicated how much percent a sales person had to the complete sale figure.
But i cannot find the link anymore.
I would like to have such a linge graph next to all my agents that indicates a value againts a total value.
Does anybody has any pointers where i could find that info ?
I have a report with pie and bar graphs, I have the paper size 16.54 x 11.69 for landsacpe, there are twelve graphs ,two placed side by side , and in the report manager, the appearence is perfect ,spread over six pages. I have Pagebreakatend True for all the graphs. The problem is with printing, on printing , the are tottaly misaligned,any tips are welcome
I want to show them on the same graph but with two different scales.
for example: I have "work hours" by months whice there values can be between 12,000 - 10,000 and I have "money" by month which value can be between 0 - 1.
I want the "hours" to apper as a bar graph and the scale of values will be showen in the right side (from 10K to 12K) and on the same graph I want a line graph of money that his scale of values will be showen on the left side.
I'm trying to add a picture of it. I hope it will look OK. its a hand made picture so I apologaize in advanced
If the picture isn't visible you can see it here: http://www.friend.co.il/scale.jpg
I have a graph and on the graph I have created an action to go to another chart. My first chart has two parameters. When I click the actions points to go to my second chart I have three parameters. Since my first one has 2 and second one have 3, I keep getting an error "invalid parameter" in the first graph. Can this be corrected. Can I use 2 parameters - pass them to the second then select the third parameter?
I have created a report with subreport.My subreport contains a graph/chart control which retrieves data from the database.My problem now,is when i deploy my report in HTML,the graph wont show.But it works perfectly in PDF and Excel..I am currentlt using now the getimage.aspx codes.I am confused now,what fornat will be used in the code(getimage.aspx.cs)Would i be evaluating the subreport??use HMTL as format??or PNG as fornat(because as i have read,PNG will be the format of the chart)??
This is my current code :
{
/// <summary>
/// Summary description for getimage.
/// </summary>
public partial class getimage : System.Web.UI.Page
I'm investigating my production server because there appears a deadlock every day. So, in SQL Profiler, I use the the Deadlock graph to capture the trace in a file.
When I click on the textdata to see the graph an error appears: - Failed to initialize deadlock control. Cannot find process victim in process list.
I also get the following error from another deadlock: - Failed to initialize deadlock control. Object reference not set to an instance of an object.
I stopped my trace, so this can not be the problem.
Does anybody knows why I can't see the graph?
I also captured the trace in a table and then used the following query to see it in xml: select convert(xml,textdata) from TableName
Hi, I have created a multi column report (2 columns), which is working fine. However, I need to have a chart on the same report, but it needs to be the width of the page, and not just the width of one column.
If I could put the chart in the report footer / header that would be perfect, but obviously I can't!
Has anyone else come across this, and any ideas / suggestions you have would be appreciated!
I have some problems in understanding the dependency network graph which is built in the association rules algorithm. My questions are:
1) Assuming an arrow goes from Node A to Node B ( A --> B), is Node A dependent from Node B or is Node B dependent from Node A? 2) Are only rules used with one element on each side of the rule (itemset size = 2) or is the graph also influenced by rules with more elements? 3) it is said that the slider on the left side is related to the probability of the rules. when viewing my rules table I don't understand why some rules are viewable later then other ones because they have the same probability. Is there another parameter influencing this slider? Which one?