SSRS: Convert this matrix into a chart?
I have this SSRS report, which is basically a matrix, and it's composed of
Sum(Fields!Down.Value) (report detail), EmpId (rows), and
Hour, Minute (columns). I've included a screenshot below.
As you can see most of the values are 0, so I would like to convert that into a chart that will display any differences in a 24-hour day. The
graphic will display exactly the same thing, but nicer. So, on a quick view, one can easily see that EmpId
2A_1 had a red flag of 68 (anything value over 0) at 7:30. When I hover the cursor over
2A_1 at 7:30, the user will see value 68.
Any help is appreciated.
VM
Hi rbhatup,
According to your description, there is a matrix with EmpId as row, Hour and Minute as columns, Down as data. Most of the values are 0, so you want to convert the matrix to chart, then users can see value 68 directly.
When we want to show the same data in a matrix and a chart, you must set properties on both data regions to specify the same dataset, and also the same expressions for filters, groups, sorts, and data. In this case, please refer to the following steps:
Open a report in design view.
From the Toolbox, add a column chart to the body of a report.
In Report Data pane, add the same dataset field to display in the matrix or use the same shared dataset.
Drag Down field from dataset to Values area of the chart.
Add Hour, Minute fields to the Category Groups area.
Drag EmpId field from dataset to Series Groups area.
For more information about Display the Same Data on a Matrix and a Chart, please refer to the following document:
http://msdn.microsoft.com/en-us/library/dd207028(v=sql.110).aspx
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu
Similar Messages
-
How to convert this Servlet into JSP
I am trying to convert this Servlet into JSP page.
How do I go about doing this?
Thanks.
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.util.*;
import java.text.*;
/** Shows all items currently in ShoppingCart. Clients
* have their own session that keeps track of which
* ShoppingCart is theirs. If this is their first visit
* to the order page, a new shopping cart is created.
* Usually, people come to this page by way of a page
* showing catalog entries, so this page adds an additional
* item to the shopping cart. But users can also
* bookmark this page, access it from their history list,
* or be sent back to it by clicking on the "Update Order"
* button after changing the number of items ordered.
* <P>
* Taken from Core Servlets and JavaServer Pages 2nd Edition
* from Prentice Hall and Sun Microsystems Press,
* http://www.coreservlets.com/.
* © 2003 Marty Hall; may be freely used or adapted.
public class OrderPage extends HttpServlet {
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException {
HttpSession session = request.getSession();
ShoppingCart cart;
synchronized(session) {
cart = (ShoppingCart)session.getAttribute("shoppingCart");
// New visitors get a fresh shopping cart.
// Previous visitors keep using their existing cart.
if (cart == null) {
cart = new ShoppingCart();
session.setAttribute("shoppingCart", cart);
String itemID = request.getParameter("itemID");
if (itemID != null) {
String numItemsString =
request.getParameter("numItems");
if (numItemsString == null) {
// If request specified an ID but no number,
// then customers came here via an "Add Item to Cart"
// button on a catalog page.
cart.addItem(itemID);
} else {
// If request specified an ID and number, then
// customers came here via an "Update Order" button
// after changing the number of items in order.
// Note that specifying a number of 0 results
// in item being deleted from cart.
int numItems;
try {
numItems = Integer.parseInt(numItemsString);
} catch(NumberFormatException nfe) {
numItems = 1;
cart.setNumOrdered(itemID, numItems);
// Whether or not the customer changed the order, show
// order status.
response.setContentType("text/html");
PrintWriter out = response.getWriter();
String title = "Status of Your Order";
String docType =
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 " +
"Transitional//EN\">\n";
out.println(docType +
"<HTML>\n" +
"<HEAD><TITLE>" + title + "</TITLE></HEAD>\n" +
"<BODY BGCOLOR=\"#FDF5E6\">\n" +
"<H1 ALIGN=\"CENTER\">" + title + "</H1>");
synchronized(session) {
List itemsOrdered = cart.getItemsOrdered();
if (itemsOrdered.size() == 0) {
out.println("<H2><I>No items in your cart...</I></H2>");
} else {
// If there is at least one item in cart, show table
// of items ordered.
out.println
("<TABLE BORDER=1 ALIGN=\"CENTER\">\n" +
"<TR BGCOLOR=\"#FFAD00\">\n" +
" <TH>Item ID<TH>Description\n" +
" <TH>Unit Cost<TH>Number<TH>Total Cost");
ItemOrder order;
// Rounds to two decimal places, inserts dollar
// sign (or other currency symbol), etc., as
// appropriate in current Locale.
NumberFormat formatter =
NumberFormat.getCurrencyInstance();
// For each entry in shopping cart, make
// table row showing ID, description, per-item
// cost, number ordered, and total cost.
// Put number ordered in textfield that user
// can change, with "Update Order" button next
// to it, which resubmits to this same page
// but specifying a different number of items.
for(int i=0; i<itemsOrdered.size(); i++) {
order = (ItemOrder)itemsOrdered.get(i);
out.println
("<TR>\n" +
" <TD>" + order.getItemID() + "\n" +
" <TD>" + order.getShortDescription() + "\n" +
" <TD>" +
formatter.format(order.getUnitCost()) + "\n" +
" <TD>" +
"<FORM>\n" + // Submit to current URL
"<INPUT TYPE=\"HIDDEN\" NAME=\"itemID\"\n" +
" VALUE=\"" + order.getItemID() + "\">\n" +
"<INPUT TYPE=\"TEXT\" NAME=\"numItems\"\n" +
" SIZE=3 VALUE=\"" +
order.getNumItems() + "\">\n" +
"<SMALL>\n" +
"<INPUT TYPE=\"SUBMIT\"\n "+
" VALUE=\"Update Order\">\n" +
"</SMALL>\n" +
"</FORM>\n" +
" <TD>" +
formatter.format(order.getTotalCost()));
String checkoutURL =
response.encodeURL("../Checkout.html");
// "Proceed to Checkout" button below table
out.println
("</TABLE>\n" +
"<FORM ACTION=\"" + checkoutURL + "\">\n" +
"<BIG><CENTER>\n" +
"<INPUT TYPE=\"SUBMIT\"\n" +
" VALUE=\"Proceed to Checkout\">\n" +
"</CENTER></BIG></FORM>");
out.println("</BODY></HTML>");
}Sorry.
actually this is my coding on the bottom.
Pleease disregard my previous coding. I got the different one.
My first approach is using <% %> around the whole doGet method such as:
<%
String[] ids = { "hall001", "hall002" };
setItems(ids);
setTitle("All-Time Best Computer Books");
out.println("<HR>\n</BODY></HTML>");
%>
I am not sure how to break between code between
return;
and
response.setContentType("text/html");
Here is my coding:
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException
String[] ids = { "hall001", "hall002" };
setItems(ids);
setTitle("All-Time Best Computer Books");
if (items == null) {
response.sendError(response.SC_NOT_FOUND,
"Missing Items.");
return;
response.setContentType("text/html");
PrintWriter out = response.getWriter();
String docType =
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 " +
"Transitional//EN\">\n";
out.println(docType +
"<HTML>\n" +
"<HEAD><TITLE>" + title + "</TITLE></HEAD>\n" +
"<BODY BGCOLOR=\"#FDF5E6\">\n" +
"<H1 ALIGN=\"CENTER\">" + title + "</H1>");
CatalogItem item;
for(int i=0; i<items.length; i++) {
out.println("<HR>");
item = items;
if (item == null) {
out.println("<FONT COLOR=\"RED\">" +
"Unknown item ID " + itemIDs[i] +
"</FONT>");
} else {
out.println();
String formURL =
"/servlet/coreservlets.OrderPage";
formURL = response.encodeURL(formURL);
out.println
("<FORM ACTION=\"" + formURL + "\">\n" +
"<INPUT TYPE=\"HIDDEN\" NAME=\"itemID\" " +
" VALUE=\"" + item.getItemID() + "\">\n" +
"<H2>" + item.getShortDescription() +
" ($" + item.getCost() + ")</H2>\n" +
item.getLongDescription() + "\n" +
"<P>\n<CENTER>\n" +
"<INPUT TYPE=\"SUBMIT\" " +
"VALUE=\"Add to Shopping Cart\">\n" +
"</CENTER>\n<P>\n</FORM>");
out.println("<HR>\n</BODY></HTML>"); -
Can you convert this file into good searchable pdf file: Medical Terminology- A Short Course.azw4
I don't think that Adobe offers any software to convert .azw4 files. Search Google for alternate converters.
-
Converting this VBScript into Java???
HI
I hava found this VBSCript. But I like to work on java.Is it possible to convert this into java code. Basically the script runs something in the remote machine. If its possible ,would u pls tell me what special package I need ??
call execprog ("217.138.120.34","c:\acad_deploy\AdminImage\install.bat")
sub ExecProg(ServerName, ProgramName)
' dim process as object, processid as long, result as long
set process=getobject("WinMgmts:{impersonationLevel=Impersonate, authenticationLevel=pktPrivacy}\\" & servername & "\root\cimv2:Win32_Process")
result=process.create(programname, null, null, processid)
if result=0 then
msgbox "Command executed successfully on remote machine"
else
msgbox "Some error, could not execute command"
end if
end sub Thanks in advanceI hava found this VBSCript. But I like to work on
java.Is it possible to convert this into java code.Yes, it is possible to convert the VBScript program in to Java code. You need to identify what the program (script) does and what the other programs are doing as well. (You said the VBscript calls other programs on remote machines). After this, design a way to implement same functionality with Java.
Basically the script runs something in the remote
machine.What "something"?
If its possible ,would u pls tell me what
special package I need ??It is possible, in order to convert the VBScript program to Java, you will have to create a Java package to contain the class hiearchy, i.e. com.admin.install.*
And of course you will need packages from J2SE and possibly J2EE. The Runtime and Process classes from J2SE are examples what is available. These objects can be used to used to call the other programs. Your design will depend on details of the other programs.
Do you plan on converting the "install.ba" program to Java as well? -
How do you convert this String into a double?
Hi, in this code I want to convert String arg into a double. I'm trying to do this so that I can convert some string into a double in this calculator that I'm making. Here is the code:
public class par {
public static void main(String[] args) {
String str = "351";
double arg = new double(str); // should convert the string into a double
System.out.println(arg);
System.out.println(str);
I keep getting errors in line 4, if any of you could help me out here I'll be thankful, i'm kinda new to java and my search for java's equivalent of alof() (its a function in C libraries that converts char[] into a double)lead me to this.
Tony L.Use the Following:
String num = "123.2";
double d = Double.parseDouble(num); -
I took a word document I had created and added fields to it in Adobe Acrobat XI Pro. I then imported the PDF in Forms Central and now I am stuck. All I am able to do with it in FormsCentral is add a submit button. It will not allow me to edit the document in FormsCentral. What I ultimately need to do is get this converted to a web form so that I can embed it into our company website. Additionally, once it's converted, I need to add an option for the user to attach their resume with the file before submitting. I have looked all over the web and I cannot find an answer as to whether or not I can convert PDFs to web forms in FormsCentral. This will ultimately determine whether or not the company decides to purchase these programs after the trial version has ended in a few days.
I tried that first, but FormsCentral does not have the capability to create tables. The form I need to create is more advanced than what FormsCentral allows. Do you know if there is a way to create or somehow import a table when creating a web based form on FormsCentral?
-
Trying to convert this sql into a crystal report
Post Author: ru4real
CA Forum: General
I have this statement provided to extract via sql but i cannot emulate this in crystal. can anybody help? here is the run down. essentially iam trying to list records in one table auanmast which is not present in the other table auanregs based on reg dte (from) and reg til (to) if this record is not in the auanreg table then list the ani_num from the auanmast. (however there is not a null field present in the auanreg table), so a left outerjoin won't work.
ani_num reg_date reg_til
5555 01/07/08 30/06/09
5555 01/07/05 30/07/06
so the record missing in auanreg is reg_date 01/07/07 and reg_til = 30/06/08 and iam trying to get the query to list all ani_num from auanmast that have no date assigned with reg_date & reg_til date the link being ani_num to
select ani_num from auanmast a where ani_num not in (select ani_num from auanregs where reg_dte = '01-Jul-07' and reg_til = '30-Jun-08' and ani_num = a.ani_num) and ani_dth is null and ani_dep is null and ani_num not in (select ani_num from auantags where ani_num = a.ani_num and tag_set != '2007/08') order by ani_num /
Hope someone is upto the challenge for this one....cheersPost Author: V361
CA Forum: General
Have you tried adding a command. Go to select datasource, select command, you should be able to use the SQL there. ( OF course it won't be just copy and paste ) unless you are lucky. -
Can someone please convert this file into a LabVIEW 8.0 vi?
Hello All! I created this vi using my school's computers. The problem is that the school uses LabVIEW 8.1.2, whereas I use LabVIEW 8.0. Because of this difference, I cannot open this vi. Does anyone have any tips/suggestions that I can use to open this vi?
Thanks.
Message Edited by jl478 on 10-28-2007 01:34 PM
Attachments:
GraphData.vi 193 KBTry this. It was looking for subVI's for DAQmx Base (I don't know what that is or how it's differerent from normal DAQmx). But you should be able to relink those subVI's
Attachments:
GraphData[1].vi 200 KB -
Is it possible to convert PDF file into HTML
Dear friends
Is it possible to convert PDF file into HTML. I have few hundread PDF files i like to convert this files into HTML. I hope it can be done through Java but i don't know how to start this coding. anybody can give me a brief idea to go ahead.Why do you want to do this yourself? I quick search on Google showed several utilities to do this, some freeware, some commercial.
-
XML: How to convert xml string into Node/Document
I have a string in xml form.
<name>
<first/>
<second/>
</name>
I want to convert this string into DOM Node or Document.
How can I do this?
Any help or pointer?
TIA
SachinTry this :
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
DocumentBuilder db = dbf.newDocumentBuilder();
Document doc = db.parse(new org.xml.sax.InputSource(new StringReader(strXml)));Hope this helps. -
How to simplify this query into simple sql select stmt
Hi,
Please simplify this query
I want to convert this query into single select statement. Is it possible?
If uarserq_choice_ind is not null then
Select ubbwbst_cust_code
From ubbwbst,utrchoi
Where utrchoi_prop_code=ubbwbst_cancel_prod
Else
Select max(utvsrvc_ranking)
From utvsrvc,ubbwbst
Where utvsrvc_code=ubbwbst_cancel_prod
End ifThough i have not tested this statement if mine ...but you can try at your end and let me know whether u got the desired output or not.
Select Decode(uarserq_choice_ind,Null,max_rnking,ubbwbst_cust_code)uarserq_chc
from
(Select max(utvsrvc_ranking)max_rnking,uarserq_choice_ind,ubbwbst_cust_code
From utvsrvc,ubbwbst,utrchoi
Where utvsrvc_code=ubbwbst_cancel_prod
Or utrchoi_prop_code=ubbwbst_cancel_prod
group by uarserq_choice_ind,ubbwbst_cust_code)
Best of Luck.
--Vineet -
Did adobe have any Other Product ! Which Converts PDF File into Microsoft office?
I have a File in PDF Format ! I had open this file in Adobe Acrobat Version 10.1.4, when I open it and click on Convert PDF into Word or Excel. Adobe open a New Window To browse the file. when I choose the file to open it .. it says. this file format didn't support ! I need to Convert this file into Word ! I Need Help
You need to ask that in the Acrobat forum
How to Select a Forum http://forums.adobe.com/docs/DOC-1015 -
Critical Issue:-- Convert SOAP Attachment into SOAP Body
hi,
My requirment is
FTP----> SOAP synchronous.
In this one at SOAP receiver side SOAP request is an attachment file and response also I m getting as an attachment.
My problem is that I need to convert this SOAP response (attachment) in SOAP body so that I can map it with FTP datatype.
I used PayLoadSwapBean module but i m unable to convert this attachment into SOAP Body.
I just followed this blog
The specified item was not found.
May be i m not using this module in a proper mannner.
Can anybody explan it step by step.
Is there anyother solution for my problem..
<It is against the rules of Engagement to post a question with the catch of awarding points. Please refrain from the same.>
Thanks
Jaideep Jain
Edited by: Bhavesh Kantilal on Dec 3, 2008 10:26 AMhi stefan,
I m getting this error after using PayloadSwapBean.
com.sap.aii.af.ra.ms.api.DeliveryException: Object not found in lookup of payloadSwapBean
I m mentioning here the value of parameter name and value for this module:--
parameter name parameter value
swap.keyName payload-name
swap.keyValue MainAttachment
Can u suggest where i went wrong.....
Thanks
Jaideep
Edited by: Jaideep Baid on Dec 5, 2008 9:27 AM -
Convert PSD files into PNG on exporting PDF
Is there a way to convert all PSDs used in InDesign into PNGs during exporting file as PDF?
After exporting the PDF I convert that into online format. But there is an issue with the images that has been added as PSD, all such images lose their colors after conversion. So I need to convert this images into PNG before exporting the PDF.
I hope this is clear. Do you know a way to do this? -
Converting EJB Object into XML
All:
Suppose I have an EJB that is named MyDog, it has attributes as follows:
name
breed
weight
age
Is there a way to convert this Object into an XML document? Something like:
<?xml version=\"1.0\" ?>
<MyDog>
<name>Bubba</name>
<breed>Australian Shepherd</breed>
<weight>65 lbs</weight>
<age>6 years old</age>
</MyDog>
I can't find any information on doing this - any ideas, links, etc? There has to be a way to do this, but I can't find it. I'm welcome to any ideas out there!check JAXB - might be usefull for you: http://java.sun.com/xml/jaxb/index.html
Maybe you are looking for
-
My 16-bit ADC supplies a stream of "Raw 1D I16" data at 1MS/s to fill a 2-D array to form an image at a rate of 4 frames/sec. To get a better image I have to average 10 frames before displaying it to the monitor and then storing this "averaged" 16-bi
-
Set order hold based on Item Text.
Hi All, I am receiving an IDoc (ORDERS05) which uses CALL TRANSACTION for order creation. I need to read the Item text (Goto -> Item -> Texts) and set holds based on the text. I am trying to use the userexit USEREXIT_SAVE_DOCUMENT_PREPARE since it al
-
Mount External Hard Disk (connected in Windows Server) in Solaris 11
Hello Solaris Admins, I have a 2 TB WD My Book External Hard Disk connected to a Windows 2008 Server and needs to mount it in Solaris 11 Server. For mounting a directory in File Server i am using the following Command mount -F smbfs "hostname;usernam
-
Hi . I have a problem whit my iphone 4
I have an iphone 4 . I have recently unlocked my iphone 4 and after restore from itunes vodafone works . But after a day the signal dissapears and it appears "Searching " and " No service " and again "Searching " .. What can I do ?
-
(Kodo 3.3.4) Generics & Xdoclet problem
My development environment is java version "1.5.0_07" on XP Professional, with eclipse 3.2. I am using annotations via Xdoclet's @jdo to generate mapping metadata for my model objecs. This particular mapping that follows fails with a <pre> kodo.jdbc.