Dynamic Counts in Discoverer .. Possible ?

Hi All,
Is it possible to do counts in a discoverer worksheet based on the result set returned after we select some parameters.
For example:
Emp Names : emp1,emp2,emp3,emp4,emp5...
Department : 10,20,30,40..
Manager : mgr1,mgr2,mgr3...
Result set for parameter emp um = emp1,emp2,emp3
emp dept  mgr
emp1 10 mgr1
emp1 20 mgr2
emp2 30 mgr1
emp2 40 mgr2
emp3 10 mgr1
emp3 20 mgr2
emp3 30 mgr3
i want to display counts of emp grouped by Department, counts of emp grouped by Mgr....how can i do it ?
I tried using sheet2 for just the counts but i donot know how to get these independednt counts after the result gets populated based on the selected parameters. ??
Any help would be highly appreciated...This is my top outstanding issue and need to get back to business ASAP.
Thanks,
Vj

Hi Tamir,
If i have to create these counts in a different worksheet, how can i accomplish it ?
I mean i have never used the option of "same parameters for all worksheets" while setting up the parameters.
I mean my first sheet will have the following...
Result set for parameter emp num = emp1,emp2,emp3
emp dept mgr
emp1 10 mgr1
emp1 20 mgr2
emp2 30 mgr1
emp2 40 mgr2
emp3 10 mgr1
emp3 20 mgr2
emp3 30 mgr3
Second Sheet woulkd look like
dept cnt
10 2
20 3
30 5
Sheet three woulkd look like
Mgr  Cnt
Mgr1 2
Mgr2 4
Mgr3 5
Based on the same result set of sheet one i need only these calculations/counts in the second sheet as a summary sheet.
Can you let mw know how to do that in detail please ?
If we can get these summary counts into one sheet it would be great but i donot know if it is possible ?
Displaying these calculation in sheet one along with details would be diffcult for the user to understand as
there will be so many records and they donot want the count to be displayed so many times..
So i made them understand that i can give them the counts in a different sheets only.
But i am still not clear how to do this..!!
Please Advice.
Thanks,
Vj

Similar Messages

  • Dynamic count of the metrices for last 3 quarters + current quater.

    Hi ,
    In one of our report we want to calculate the count of a metric for last 3 quarters + current quater. But the problem here is that we want to generate the dynamic count.
    for eg:
    report now should show total count for quarter 10Q4,11Q1,11Q2,11Q3. when the 11Q4 come then the count sholud be from 11Q1 to 11Q4 and so on..
    Please note that we have a server variable curr_qtr for caculating current quarter.
    Appreciate your help.
    Thanks

    Thanks,
    the issue has been resolved by making a repository variable for last year quarter and then taking both current quater and last year quater varibale in the report filter.

  • Is a dynamic codebase without JnlpDownloadServlet possible?

    Is it possible to have a dynamic codebase without deploying a servlet?
    Seems reasonable to me. The cache should always know where the original source for the jnlp file ....
    <jnlp spec="1.0+" codebase="codebase of original source this file" >
    </jnlp>
    I am attempting to minimize server side code and was thinking this was possible because of this statement made here : https://jdk6.dev.java.net/testProperty.html
    "In 6u10-b13, we introduce new Java system properties to support the usage of version download and Pack200 without any server side requirements."
    It seems to me that without some mechanism for dynamic codebase the new properties jnlp.packEnabled and jnlp.versionEnabled are kind of pointless since server side code will still be required in most situations. Statically coding the codebase attribute for every deployment is not a viable solution for me.

    Thanks for responding Andy.
    I was thinking that if the run-options of javaws would support the -codebase option (as with the import option), and the browser were to launch with that flag, then it could override the codebase in the jnlp file. Maybe too many moving parts there? ........
    I've been working with the -import and -codebase options in attempt to minimize the server side servlet requirement.
    Basically my thought is :
    Have the jnlp file on server with no codebase attribute.
    Use a signed applet to bring the jnlp file down from the server and write it to local disk (somewhere temporary) adding the codebase attribute along the way. Then launch the javaws with -codebase and -import flags to install the application.
    So far it seems to be working but it's been a bit of a struggle. Viewing the cached jnlp file I see that it has the codebase attribute correct and the application does launch.
    I am wondering if I update the jnlp file on the server, will the codebase in the cached file still be used? or will I need to force another -import?

  • Dynamic Counter in BEx Report to count the drilldown line item.

    Hi,
    I have a requirement to show the count of different parts in a report. For example the report,
    Part Number            Costs
    100                    200 $
    and if you drill down from the part number to line item details, you will get,
    Item Number            Costs
    10                      50 $
    20                      50 $
    30                      50 $
    40                      50 $
    So basically Part Number 100 is consists of 4 Item numbers. Now I want to show original report like this,
    Part Number            Costs               Counter
    100                    200 $               4
    Is there any way I can catch that counter, like how many line item is there per Part Number ?
    I am thinking of 2 ways, Virtual key Figure to calculate this or in alternate if possible use the Classification extractor (not sure if it possible to count the number of items per classification extractor though).
    Is there any better or simpler way to deal this without changing the cube structure ?
    Thanks for your time spent on this,
    Kind Regards,
    Arpan

    Hi,
    You can get this functionality with Virtual Key figures.
    You will have the complete dataset in the RSR00002 Enhancement in CMOD.
    Thank you
    Arun

  • Oracle PL/SQL Web service - dynamic parameters... possible?

    Oracle 11.2.0.3 - newbie on web services!
    Currently we have a pl/sql web service taking in 2 static parameters and returning a varchar2 response.
    I was asked today if it's possible for a web service to take in a dynamic set of parameters and return a corresponding set of results. It's as if I need to pass the web service a table with two columns and return a table of one column.
    For example:
                        Input                          Output
              1 2                             3
              3 4                             7
              5 6                            11output being in XML of course. It is possible?
    p.s. I posted this in OC4J also - no response hence the re-post !

    Parameters relate to procedures. Web Services require XML messages.
    Where are the parameters coming from? You cannot pass a dynamic number of parameters into a procedure, but you can pass a structured type as a parameter which can contain multiple values, whether that is an array/collection type or an XML document itself.
    Just package up the values into the XML and pass it to the web service.
    If this doesn't answer your question, please post more information, with some example data and code. Read the FAQ: {message:id=9360002}

  • Building XML dynamically? Is it possible.

    How do I build an XML Document dynamically.?
    I am wrting MIDP Applications (applications for the Mobile
    device) and I am required to send requests to the server
    in XML Formats.I have multiple requests to be sent to the
    server in XML and then I receive XML responses from the server
    which i need to parse.
    Now,if I store all the required requests in a Class,that are needed to be sent to the server,I am taking a lot of space of the cell phone.
    How can I create an XML string dynamically that is sent to the
    server as and when required.
    Please can any one respond?
    AJAY
    ajay [email protected]

    Hi there,
    So is it possible for me to create an XM file on the fly.?
    For example: I need to send an xml file to the server
    For this I have a class called RequestHandler having a method called
    sendRequest1(),sendRequest2(),sendRequest3() etc etc
    public class Request{
    public void sendRequest()
    String req1 = "<xml.........>
    public void sendRequest2()
    req2 = "<xml......>";
    public void sendRequest3()
    req3 = "<xml...>";
    This way I have a lot of xml file format in each method.
    Please explain as to how I can create the XML file required
    to be sent for each request to the server on the fly.
    Storing this class with all the XML file formats takes up a lot
    of space on the MIDP device...
    Thanks for yr response.
    Ajay

  • Dynamic profile is it possible

    Hi All,
    I need to create a profile depending on the first profile option.Is it possible?(Ex. if first profile has the value Gregorian then 2nd profile should have the value day,month if first one has the value 445 then 2nd one should have the value day,week).Its very urgent.
    Thanks in advance,
    Amrit

    Hi amrit;
    Please check below notes and their references and see its helpful:
    How is 'Dynamic Hierarchy Id' profile attribute populated? [ID 490034.1]
    How does the "Dynamic" calculation work with the profile option GMF_Cost_Alloc_Calc [ID 437188.1]
    PERF - Using Dynamic Security Profile Causing Performance Issues in Self Service Application [ID 364457.1]
    Personalization Rules [ID 528332.1]
    Problems Using Dynamic Custom Security Within Security Profile. [ID 468364.1]
    Regard
    Helios

  • TOTAL Play Count... possible?

    This might be a strange question, but I am just curious. I know that when I plug my iPod into my computer and open iTunes, the play count comes up for each song. I was wondering if it is possible to get the total play count from my iPod... just a single number for the number of times I've played EVERY song. I have a "retro" iPod (iPod photo... not sure what generation) so I'm not sure if current programs would work with it, but I can try it. BTW, I have iTunes 9.2 if that matters. Thank you!

    No. However, it is easy enough to paste your library into Excel or some other spreadsheet (simply make sure the columns you want are visible in iTunes, then copy and paste) from which you can do all the sums and statistics you want.

  • Creating a list with a dynamic counter

    I have a dataProvider that looks like this.
    <dataProvider>
         <Array>
              <Object>Apples</Object>
              <Object>Oranges</Object>
              <Object>Bananas</Object>
              <Object>Limes</Object>
         </Array>
    </dataProvider>
    I want to be able to display those items in a list with a counter like...
    1. Apples
    2. Oranges
    3. Bananas
    4. Limes
    What is the best way to go about doing this?

    Hi Cootis,
    Hope this is the best way possible to acheive it...
    <?xml version="1.0"?>
    <!-- Simple example to demonstrate the PieChart control. -->
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" height="100%" width="100%">
        <mx:Script>
            <![CDATA[
            ]]>
        </mx:Script>
      <mx:XML id="myXml" xmlns="">
        <dataProvider>
          <Array>
           <Object>Apples</Object>
           <Object>Oranges</Object>
           <Object>Bananas</Object>
           <Object>Limes</Object>
          </Array>
      </dataProvider>
      </mx:XML>
      <mx:List id="myList" dataProvider="{myXml.Array.Object}">
       <mx:itemRenderer>
        <mx:Component>
         <mx:Label>
          <mx:Script>
               <![CDATA[
                public override function set data(value:Object):void
                 super.data = value;
                 text = (listData.rowIndex + 1) + ". " + value;
               ]]>
           </mx:Script>
         </mx:Label>
        </mx:Component>
       </mx:itemRenderer>
      </mx:List>
    </mx:Application>
    If this post answers your question or helps, please kindly mark it as such.
    Thanks,
    Bhasker Chari

  • Superscripting in dynamic text: is it possible?

    I'm hoping this is a quick fix! I need to dynamically load a
    string containing an expression with superscripted numbers. Can i
    do this?

    I guess I should have checked the knowledge base first. I
    will use static text as superscripting is not yet available in
    dynamic text.

  • Is Dynamic Class Loading(RMI) Possible in EJB?

    In Java RMI,it allows dynamic class loading,that is when the stub and interface class files are modified by the server,the client side can download the updated stub and inteface classes.
    As the remote interface of EJB extends Javax.ejb.EJBObject which in turn extends java.rmi.remote.Also the Home interface of EJB extends
    javax.ejb.EJBHome which also extends java.rmi.remote.
    Therefore I wonder if EJB also supports dynamic class
    loading as RMI does.If yes,how to do so?Is it the responsibility of the Application Servers and transparent
    to client? If No,then is this a defect in EJB??
    Thank you very much in advance!!
    John

    This would be done by the container and is transparent to the client. Most app servers support "hot deploy" where you can deploy beans while the server is running. This requires dynamic class loading.

  • Dynamic sorting in discoverer?

    Hi,
    I have a requirement where I need to have a parameter having column names and
    whichever value the user selects from the lov in the parameter, I need to sort the data based on that column.
    Is it feasible to incorporate this functionality in discoverer
    Thanks

    how do you create LOV based on column name?
    if you succeed with this issue then look at
    Re: Sort based on parameter?
    Please post your discoverer related issue in Discoverer forum.

  • Dynamically count the field

    I have a scenario where the target field of one idoc segment should get populated ie. field should count how many other different segments are generated in the target.for example
    segment  A comes to 2 times then say field of segment C should be 2 in the target

    You can use the following UDF's for increment and initialisation of the counter
    Increment the Global Variable Counter
    public String incrementCounter(String a,Container container){
       //write your code here
    if(a.equals(" "))
    Object o = container.getGlobalContainer().getParameter("CNTR");
    Integer ii;
    if( o == null ) ii = new Integer(0);
    else ii = (Integer)o;
    ii = new Integer( ii.intValue() + 1);
    container.getGlobalContainer().setParameter("CNTR", ii);
    String temp = ii.toString();
    return temp;
    else return " ";
    <b>Intialise the Counter</b>
    Object o = container.getGlobalContainer().getParameter("CNTR");
    Integer ii = new Integer(0);;
    container.getGlobalContainer().setParameter("CNTR", ii);
    return "1";

  • Running Dynamic Code - Is it possible?

    Hi guys,
    I am interested to know whether there is a way I can run dynamic code in my java program. For example, I want to be able to write java code into a JTextArea and then run that code as like an extension of the program.
    In other words, if I wrote something simple like "System.out.println("Hi");, it would print the work "Hi" in the console as if it were part of the original program.
    Does anyone know if there is a way to do this? Alternatively, is there a way I can call the Javac tool from within a program, thus allowing me to dynamically compile a program.
    Thanks guys,
    WATTO
    [email protected]
    http://www.watto.org

    I think JSP is a variant of such a frame. You can
    execute a code compiling it.JSP is normally compiled into bytecode when it is first loaded by the container.
    beanshell and [url http://www-124.ibm.com/developerworks/projects/bsf]BSF are, I think what the poster is after, on this very frequently asked question :)

  • Updating dynamic counter variable

    I have a form that populates form fields with database
    records to edit.
    This works fine.
    When i attempt to loop through the records to update i get an
    error.
    Obviously it has to do with my syntax of my variables (
    LowerQty='form.LowerQty#count#',
    UpperQty='form.UpperQty#count#',
    Price=form.Price#count# WHERE id='form.id#count'# )
    When i attempt to update the database. It is attempting to
    enter the string
    value "lowerQty1" rather that it actual intger value=1. What
    is the correct
    syntax to write these variables in cold fusion? Thanks in
    advance.
    <!----form------>
    <cfset count=0>
    <form name="form2"
    action="pricecode_adjust.cfm?stage=update"
    method="post">
    <table width="600" border="1">
    <cfoutput query="PriceCodes" startrow="1"
    maxrows="#pricecodes.recordcount#">
    <cfset count=#count#+1>
    <tr>
    <td width="100px">Price Code:
    #pricecode# <input name="id#count#" type="text"
    value="#pricecodes.id[count]#" /></td>
    <td width="100px">Lower Qty#count#:
    <input type="text" name="LowerQty#count#" size="6"
    maxlength="6"
    value="#pricecodes.lowerqty[count]#" /> </td>
    <td width="100px">Upper Qty#count#:
    <input type="text" name="UpperQty#count#" size="6"
    maxlength="6"
    value="#pricecodes.upperqty[count]#" /></td>
    <td width="100px">Price#count#: <input
    type="text" name="Price#count#" size="6" maxlength="6"
    value="#pricecodes.price[count]#" /></td>
    </tr>
    </table><input name="Update" type="submit"
    id="Update"
    value="Update Price Code" />
    <!-----store the loop count in hiiden field---->
    <input name="recordcount" type="hidden"
    value="#pricecodes.recordcount#" />
    </cfoutput>
    </form>
    <!----update------>
    <cfif stage eq 'update'>
    <!---Loop through pricecodes to be updated--------->
    <cfloop index="Count" from="1"
    to="#form.recordcount#">
    <cfquery name="query" datasource="#client.dsn#"
    username="#client.username#" password="#client.password#">
    UPDATE cost
    SET
    LowerQty='form.LowerQty#count#',
    UpperQty='form.UpperQty#count#',
    Price=form.Price#count#
    WHERE
    id='form.id#count'#
    </cfquery>
    </cfloop>
    </cfif>

    if you have tried looking for an answer first, you would have
    found it
    in this very forum only 2 threads before yours!
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=1&catid=7&threadid=13 28096&enterthread=y
    and another one only 4 before yours!!!
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=1&catid=7&threadid=13 28004&enterthread=y
    and there was another one earlier today on exactly the same
    subject!
    and don't forget to RTFM:
    http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Part_3_CFML_Ref_1.html
    hth
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com

Maybe you are looking for

  • Ajuda com Iphone 3GS IOs 5.01

    Prezados,  Preciso de uma ajuda urgente...   Tenho um Iphone 3GS com IOs 5.01 que trava a todo momento e desliga sozinho. Não sei mais o que fazer, poderiam me ajudar? Obrigada Poliana

  • T60p Hard Drive Errors in Diagnostics Test

    I recently started having problems with my internal hard drive. It is just over 1 year old, a Western Digital Scorpio Blue 320GB 5400rpm, 8MB cache.. While trying to extract a few zips, I started getting an I/O Device Error message. I ran a CHKDSK an

  • ISE 1.2 Timezones

    Hi everybody Does anyone know how to change the time displayed in the GUI (Monitoring/Authentication)? On the Commandline we did set the timezone when installig the ISE, but when troubleshooting in the GUI the time is displayed with "wrong" timezone.

  • Dynamic File Generation

    I'm trying to generate a file from 3 oracle tables. I don't want to define the file ahead of time, I simply want to create it on the fly. I've created an interface for mapping the tables to the file, but seem to be in a catch 22. I need to create a f

  • Photo Library pics duplicated?

    Can someone explain why I always have 2 sets of the same photos on my iphone? If I understand correctly, the photo library will always show the same photos that I choose to sync in itunes, correct? but why? It is annoying to see 2 of the same