Chart creation based on Query

Hi,
I Have  a report where there are 4 columns. Now I want to create 4 separate charts from this Query.
I have created one chart but that chart shows all the columns where as I want only one column to be used for the chart.
so how do I create 4 different charts based on same query ?
Please respond.

Hi Shambu,
When you are defining chart,You will have option to define parameters for each series.
In that,You will see an option called "Visibility" for each series.You select only for one series which you wonna show in the result & dont select it for other series
You can do this in Web Item Parameters  -> Edit Chart option
Hope it helps
Sriman
Edited by: Sreeman on Aug 7, 2008 7:55 PM

Similar Messages

  • How to embed chart/grafic into bex report (workbook) based on query result?

    Hi friends,
    Since I have never embedded any Charts/Grafic based on query report, I am wondering if you could share your knowledge?
    Thanks for your help in advance!
    Regards,
    Sally

    Hi Sally,
    You can create chart into workbook based on the query data.
    Execute the query it will show result in excel sheet. In the tool bar of the sheet you find 'Chart wizard' icon . Select the icon, it will ask for the type of the graph. After select the ranges of the data from result. It will display the graph. Then you can save the workbook.
    Graphs can be embedded in different sheets.
    Hope it helps.
    Regards,
    Aditya

  • SSRS 2008 - hide chart lines based on parameter selected

    How to control visibility of chart lines based on Params selected by user?
    By default, my report display last 3 years worth of data (including current) with Month on the x axis and Counts on the y axis. I have two Boolean parameters:
    TwoYrs? T/F
    ThreeYrs? T/F
    if False is selected for TwoYr and ThreeYr parameters then I want to hide chart lines corresponding to last year and the year before.
    What I've tried: Created 3 Series groups with filters. eg. YearSeries1 to return only current year data and applying an expression to display it if params TwoYrs and ThreeYrs = False. and so on for YearSeries2 to return current + last
    years data if param TwoYrs is True and ThreeYrs = False.  But I don't see where to add expression to control the display of the individual series groups.  I am open to any way of doing this, but this seemed most logical.

    Hi Ok-Hee,
    In your Source Query just need to filter the series data based on the Parameters.
    I have written sample query below:-
    select * from
    select 1 monthnumber , 'Jan' MonthName, 2013 year,100 amount
    union
    select 1 monthnumber , 'Jan' MonthName, 2014 year ,200 amount
    union
    select 1 monthnumber , 'Jan' MonthName, 2015 year , 300 amount
    union
    select 2 monthnumber , 'Feb' MonthName, 2013 year, 300 amount
    union
    select 2 monthnumber , 'Feb' MonthName, 2014 year, 350 amount
    union
    select 2 monthnumber , 'Feb' MonthName, 2015 year,200 amount
    union
    select 3 monthnumber , 'Mar' MonthName, 2013 year, 380 amount
    union
    select 3 monthnumber , 'Mar' MonthName, 2014 year, 100 amount
    union
    select 3 monthnumber , 'Mar' MonthName, 2015 year, 500 amount
    )t
    where year in (
    select distinct FilterYear from
    select case when @TwoYrs=1 then year(getdate())-1 else year(getdate()) end FilterYear
    union
    select case when @TwoYrs=1 and @ThreeYrs =1 then year(getdate())-2 else year(getdate()) end FilterYear
    union
    select year(getdate()) FilterYear
    ) t
    I have created one post in my blog , you can check the result.
    https://msbitips.wordpress.com/2015/03/12/ssrs-2008-hide-chart-lines-based-on-parameter-selected/
    Thanks
    Prasad

  • Print layout designer for develop report based on query

    Dear Experts/Gurus,
    I am amazing about the manage previous reconciliation report. When I opened it using print layout designer, it looks like the report is not built using query, but I am not sure yet. This is very confusing. I created query similar with manage previous reconciliation (MPR), but when I link the query to print layout and try to make similar format/appearance with MPR report (reconciliation management (system)), it is not success.
    Isn't the MPR report built not based on query ? I appreciate your answer. TIA
    Rgds,

    Hi,
    I am not sure I understand what's the problem:
    Is it the layout that is different or the data?
    Regarding the data you can use SQL Profiler (maybe you did?) to find out what queries are fired, but please note that there are some stored procedures in the DB that are used for some specific functions - not sure whether the "MPR" uses any of these.
    Then you must include some non-default filter in SQL Profiler...
    ...but you can also use the logging functionality in B1 for that purpose:
    Just activate the logging (see the "log" folder in the B1 subdirectory) in the corresponding config file: choose the option to have the SQLs logged in conjunction with the logging being triggered in all cases (not just error).
    Thus you will get all the SQLs - just plain - from the B1 application, but note that it will obviously slow it down!
    HTH,
    Frank

  • Duplicate material entry at the time of PO creation based order type

    How Restrict duplicate material entry at the time of PO creation based on define order type.
    Moderator message: please do some research before asking.
    Edited by: Thomas Zloch on Mar 11, 2011 1:45 PM

    Hi Rahul,
    try with This Badi  ME_PROCESS_PO , Method Open or Process item,
    Implemente it and use a break-point to test it i.e it is triggred or nt , before processing it.
    Regards,
    Abhisek

  • Delivery Creation based on Backdate stock

    Hi
    Could anyone advise the procedure to have the delivery creation based on the back dated stock.
    IN DETAIIL detail The system should be able to allocate stock in sales order shedule line item based on the back date of last week (example) stock avilablity,  though today no system level inventory due to goods movement.
    Appreciated if could advise in detail.
    Regards
    RG

    Provide with an example.
    At present system checks the stock which is posted in backdate,
    To determine confirmed delivery date, Backward scheduling performed first , if not derived the req del date, then system does forward scheduling- which is a std functionality
    Regards,
    Reazuddin MD

  • Block sales order creation based on material qty

    Hi,
      In my scenario i want to block the sales order creation based on material qty , how i can do this?
    Example:
    Material qty below 100 = able to create sales order
    Material qty above 100 = not able to create SO
    Thanks,
    Arun

    Hi
    For restricting the order if it is less than a specified qty, you can maintain the 'min order qty' in material master.
    But your requirement is the other way round - Restrict order if it is more than specified qty.
    In this case, you need to use the following sales order exit  in progran MV45AFZZ
    u2022     USEREXIT_SAVE_DOCUMENT_PREPARE
    Use this user exit to make certain changes or checks immediately before saving a document. It is the last possibility for changing or checking a document before posting.
    The user exit is carried out at the beginning of the FORM routine BELEG_SICHERN.
    Hope this helps.
    Regards
    Madhu

  • Automatic lot creation based on time Frequency

    Hi,
    For 01 inspection incoming inspection ,
    F or  certified vendors, without inspection , material is getting posted to UUS without lot creation. ( QI info record settings).
    but for this case , business requirement is to get automatic lot creation based on time like 6 months once .
    Automatic lot to be created for this certified vendor on time frequency basis. how to trigger this Lot creation based on time.
    Help.
    VV.

    Hi,
    In std SAP we dont have option of generating Automatic lot creation based on periodic basis. But we can provide some workaround soultion.
    Option 1:
    USe Source Insepction concept. Here Inspection lot will be created for every P.O. Here u can relase P.O line items in QI07 which can sceduled in Job planning on periodic basis. Use Skip inspection lot concept to skip unwanted lots. This has direct relation with Q-Info record.
    Option 2:
    U can generate automatic lot creation based on Stability study concept. Here are the following steps
    Initiate Stablility study
    Create Initial sample
    Perform intial test
    Confirm initail sample
    stability planning
    Define storage condition
    create testing schedule
    store stability sample
    define cycle start
    schedule
    complete stability study.
    Option 3:
    To get Automatic lot creation u can use BAPI QPL1_INSPECTION_LOT_CREATE . When a due date come for inspection,it created a lot of 01 / Z-01 inspection type automatically through QA01( call the program ,enter the inspection lot origin & material,vendor & save). Create Z-T code which has vendor material plant combination.
    Execute the above T-code based on Periodic basis.
    Explore above 3 options and choose best one according to ur requirements.
    Edited by: Lokesh K on Oct 12, 2010 11:27 AM

  • Adding a custom meta data field which lists out content id based on query

    How can we add a custom meta data filed which lists out content id based on query like dDocType <matches> `AssociatedProduct`?
    Or other alternative would be to have a custom metadata field such that it allows selection of content id using link wizard which we typically use in site studio. It would be preferable to have this second option as it is user friendly. Can we do this on a check-in screen?
    -Pratap

    Thanks for the reply Deepak.
    We got it resolved. We did following changes in /ucm/custom/SiteStudio/resources/ss_custom_field_resources.htm file and it worked cleanly.
    Added following section at the end before body tag
    ===================================================================================================
    <@dynamichtml ss_parent_definition_field_entry@>
         <$include super.std_edit_entry$>
         <$if isQuery and isTrue(isQuery)$></td><td><$endif$>
         <$include ss_contributor_base_scripts$>
         <script type="text/javascript" src="<$HttpRelativeWebRoot$>resources/<$SSContributorSourceDir$>/sitestudio/wcm.contentserver.popup.js"></script>
         <script language="JavaScript">
         function OnSelectParentId()
              var selectParentIdOptions = {};
              selectParentIdOptions.httpCgiPath = '<$HttpCgiPath$>';
              selectParentIdOptions.queryText = 'dDocType <matches> `Country`';
              selectParentIdOptions.coreContentOnly = '<$if coreContentOnly and isTrue(coreContentOnly)$>1<$else$>0<$endif$>';
              selectParentIdOptions.callback = function( returnParams )
                   returnParams = returnParams || {};
                   if( returnParams && returnParams['dDocName'] && ( returnParams.dDocName.length > 0 ) )
                        // Set the actual metadata value
                        <$if isQuery AND isTrue(isQuery)$>
                             for (var i=0; i < document.<$formName$>.elements.length; i++)
                                  var elt=document.<$formName$>.elements;
                                  if (elt.name=="<$fieldName$>")
                                       elt.value = returnParams.dDocName;
                        <$else$>
                             document.<$formName$>.<$fieldName$>.value = returnParams.dDocName;
                        <$endif$>
              WCM.ContentServerPopup.ChooseManagedDocument(selectParentIdOptions);
         </script>
         <input type="button" value="<$lc("wwBrowse")$>..." onclick="OnSelectParentId();">
    <@end@>
    ======================================================================================
    Then modified the section which show xWebsiteSection, xRegionDefinition etc to include my custom meta data defitnion as well ('xParentContentType')
    ===================================================================
    <@dynamichtml std_edit_entry@>
         <$if fieldName and ( fieldName like "xWebsites|xDontShowInListsForWebsites" )$>
              <$include ss_website_query_text_field$>
         <$elseif fieldName and strEquals( fieldName, "xWebsiteSection" )$>
              <$include ss_website_section_field_entry$>
         <$elseif fieldName and strEquals( fieldName, "xRegionDefinition" )$>
              <$include ss_region_definition_field_entry$>
         <$elseif fieldName and strEquals( fieldName, "xParentContentType" )$>
              <$include ss_parent_definition_field_entry$>
         <$else$>
              <$include super.std_edit_entry$>
         <$endif$>
    <@end@>
    ====================================================================
    This worked fine.
    Regards,
    Pratap

  • Restrict Info Record Creation Based on Material Type

    Dear colleagues
    I would like restrict material info record (ME11) creation based on given materialsu2019 material type (MARA u2013 MTART). Is it possible such control? If yes, can you please provide the way?
    Best regards

    Dear AP,
    Unfortunately I wasnu2019t able to find any user exit, badi or etc. That's way I need to post the question to the forum. Before providing any answer please consider that no question is post without any research and give the audience specific, to the point answers not such irrelevant ones.
    Thank you

  • SAP UI5 Chart using SAP MII Query template

    Hi All, I am new to SAP UI5. I am trying to create SAP UI5 chart using SAP MII Query template. could anyone please tell me how to pass the Query Template as input to the SAPUI5 Chart? If possible please share sample code for doing so Regards Praveen Reddy

    Hi,
    If you want to embed UI5 objects in an IRPT here is a very simple code snippet:
    <HTML>
    <HEAD>
      <TITLE>TestUI5</TITLE>
    <SCRIPT type="text/javascript" src="/XMII/JavaScript/bootstrap.js" data-libs="i5Chart,i5Grid,i5SPCChart"></SCRIPT>
      <SCRIPT>
      var Grid = new com.sap.xmii.grid.init.i5Grid(SpecifyDisplayTemplateHere, SpecifyQueryTemplateHere);
      Grid.setGridWidth("640px");
      Grid.setGridHeight("400px");
      Grid.draw("div1");
      </SCRIPT>
    </HEAD>
    <BOD
      <DIV id="div1"/>
    </BODY>
    </HTML>

  • ADF dynamic ViewObject based on query. how to get attributes?

    hi.
    i have an read-only view object based on query like this:
    SELECT :func(:paramm) as EMP_SAL from dual
    and set :func & :paramm parameter by vo.setNamedWhereClauseParam(..) function.
    but i couldn`t get EMP_SAL attribute after executeQuery command.
    in another case i would set new whole Query by vo.setQuery(..) but the problem exists.
    please help me. how to get attribute in such vo objects!
    thanks!
    Morena!

    thanks to Quick reply!
    i seek into code and found a uninitialized Parameter in view object. error has gone after correct the problem!
    and now could get the attribute value.
    thanks so much!
    /\/\ o r e n a!

  • Approval Procedure based on query

    Dear All,
    I'd like to make approval procedure based on query.  The condition is when the AP Invoice document created based on GRPO and there's a different Amount (AP Amount <> GR Amount) then it should trigger the approval procedure.
    Do you have any idea about the query structure?
    Thanks

    shobah,
    try this below query like this
    Select TRUE From OPCH Where DocTotal > 25000
    Jeyakanthan

  • Chart creation using multiple series with same name

    I'm new to Numbers and to chart creation in general, so I'm not sure if Numbers is capable of what I need. But if so, I'd like to know how...
    I have a large spreadsheet with hundreds of lines of expense data, wherein each line item falls into one of a dozen categories of expense types. I would like to create a pie chart by expense type (ie, Healthcare, Automotive, Travel, etc), but Numbers wants to treat each line item as a separate expense, even though many of them share the same name. So I'm getting multiple pie slices that all say "Travel" and so forth. I really just want one pie slice for Travel, one for Auto, etc.
    So how can I make Numbers calculate the subtotals for each expense type and use those subtotals to create the chart? Is there a way to do this within the chart function or do I need to create a separate table for just the subtotals (not sure how to do that either) or what?
    Thanks!

    It appears that I missed your question.
    Here is a way to treat the problem:
    In Tableau 2 column B the formula is:
    =SUMIF(Tableau 1 :: B,A,Tableau 1 :: C)
    The column A of Tableau 2 is a header.
    Yvan KOENIG (from FRANCE lundi 14 avril 2008 14:26:37)

  • Color APEX charts based on query value returned?

    Hi,
    I appreciate any information regarding this topic. Do you know if there is a way to change the color of a column chart based on the value that is returned in SQL query? This specific type of query and chart only has one bar...so we don;t have to worry about multiple series of bars here.. For example,
    select null link, FTE_NAME label, (SUM(INVOICeABLE_ALLOCATION) + SUM(SECOND_BILL_ALLOC)) value1
    from FTE_VIEW
    WHERE FTE_ID = :P9_ID
    group by FTE_NAME
    This might return an allocation of 2.5 for a specific person, where we only want people allocated to 1.0 so anything > 1.0 the chart color would turn red.
    PS: There is a reason we are allowing them to enter values >1.0 by the way ;) if you are wondering..haha
    Any ideas? I also looked up in the AnyChart knowledge base, but could not find any help there..
    Kind Regards,

    Hi,
    Thanks for your help. I am not clear on whether I need to create the :P1_Colors item or not. If I choose Custom colors and then have my colors as #099E4A,#F00E19 can I reference :P1_COLORS in my SQL or do I have to create the item :P1_COLORS and use a statics list? Also I've playing with the SQL, I was able to get a return value using a CASE statement, but I had no lukc with the Decode...Here is what I tried IN SQLdeveloper but could not get it to work.
    SELECT FTE_NAME, DECODE(SUM(ALLOCATION),SUM(ALLOCATION)<=1,'GREEN','RED') AS COLOR
    FROM FTE_PRJK_VIEW
    where id = :P9_ID AND FTE_PROJECT_STATUS = 'YES'
    group by FTE_NAME
    (Where i have Green and Red I would have the item :P1_COLORS = #099E4A,#F00E19, ETC..)
    Was able to get this case statement to return a value in SQL Developer..but cannot get it to work in the chart...
    select null link, FTE_NAME label,
    CASE WHEN SUM(ALLOCATION)<1
    THEN :P1_COLORS = '#099E4A'
    else :P1_COLORS = '#F00E19'
    END CASE value1
    from FTE_PRJK_VIEW
    where id = :P9_ID AND FTE_PROJECT_STATUS = 'YES'
    group by FTE_NAME
    Really Appreciate the help with this :)
    Kind Regards,

Maybe you are looking for

  • Inserting values in a table from a view report in Application Express

    Hello. I have several tables with the sql bellow: Employee CREATE TABLE "Employee" (     "Employee_ID" NUMBER, "Name" VARCHAR2(12) CONSTRAINT "NAME_EMPLOYEE_NN" NOT NULL ENABLE, "Surname" VARCHAR2(10) CONSTRAINT "SURNAME_EMPLOYEE_NN" NOT NULL ENABLE,

  • Too big and "shaking" view in iMac -- help!

    Hi, I'm inexperienced with macs and the owner of this computer is out of reach --- I accidentally changed some setting in an iMac and now the view is too "big" for the screen and the image shakes everytime I touch the mouse. The resolution should be

  • Job errors but shows warning

    We have a situation where we have a job with multiple workflows, each with multiple dataflows.  When the job ran we received an error on one of the dataflows. However the job itself only shows a warning.  The HDBODBC is a known warning that we ignore

  • No keyboard, but Mac still goes into clamshell mode

    How do I prevent this? I have power attached and an external monitor. No keyboard, no mouse, no bluetooth devices, no USB devices. When I close the laptop lid it moves all my apps to the external monitor and stays on. I want it to sleep. The Apple do

  • Native Extension for Linux

    Hi, I'd like to explore the posibility to create a navite extension for AIR/Linux. I haven't found documentation on how to do it. Is this already supported in version 3? I want to create a serial port communication extension for AIR. Can some one ple