Count the number of customer in query designer

Dear Friends,
I am trying to create a query where we have two key figures.
( Division )      (Total Customer)        (Total Customer who purchase)
10                      10                                 5
20                       20                              15
This means i need two figures one is total number of customer against
each division irrespect of sales either they purchase somthing or not means read from
master data.
and second figure i need total number of customer who purchase
from us by eash division.
second KF is achived by creating a  New Formula and put 1 in detail view and
in aggregation tab i select total option and in ref. char. i choose division.
now i am getting right number of customer who purchased from us.
for KF one  i dont know how can we read from master data for customer count.
i know there is a option for characterstics in advance properties choose from
transaction data or from master data but i am unable to build logic for counting using
these advance features.
any help higly appricated.
Regards,
Malik
Edited by: Malik Naeem on Jan 20, 2009 9:01 AM

HI,
Maintain the Total Customer as an attribute..
Then this characteristic has the values from master data..
THen Convert this characteristic into key figure using Formula Variable with Replacement path.
Using Formula varaible with replacemant path,  we can convert a characteristic into key fure..
I Hope u can achieve the result now...
Hope this helps u..
Best Regards.
VVenkat..

Similar Messages

  • BW Reporting - How to Count the number of times a query is executed

    Hi All,
    How do we get a report that enable us to get a count of number of times a report is executed? Example below:
    Info-provider         Report Name              Frequency
    PA_C01              Headcount                  24 times
    Any idea?
    Many thanks all.
    Mark Ng.

    Hi,
    1. Use Tcode = ST03N (Work Load Monitor)
    2. Choose Expert mode.
    3. Click on your system host name
    4. Click on Transaction Profile, then you can find out the all tasks.
    5. Select which ever you want to see details for queries.
    Regards,
    Srini Nookala

  • How do I count the number of records returned in the CMIS query

    How do I count the number of records returned in the query CMIS?
    SELECT COUNT(*) FROM ora:t:IDC:GlobalProfile WHERE ora:p:xRegionDefinition = \'RD_PROJETOS_EXCLUSIVOS\''}
    Euler Homero

    Hi Euler,
    interestingly enough, the reference guide for CMIS ( http://wiki.alfresco.com/wiki/CMIS_Query_Language ) that I found does not mention the COUNT function at all. On the other hand it states that: "The SELECT clause identifies which virtual columns to return in the result set. It can be either a comma-separated list of one or more queryNames of properties that are defined by queryable object types or * for all virtual columns."
    There are, however, some other posts like e.g. http://alfrescoshare.wordpress.com/2010/01/20/count-the-total-number-of-documents-in-alfresco-using-sql/ which state that they could make it working.
    Having asked in the WebCenter Portal forum, I assume that your content repository is WebCenter Content. The CMIS doc for the Content is available here: http://docs.oracle.com/cd/E23943_01/doc.1111/e15813.pdf (no COUNT there either). It does, however, mention explicitly that "CMIS queries return a Result Set where each Entry object will contain only the properties that were specified in the query.". This means your could rather investigate the Result Set. Note that there are also other means than CMIS how to get the requested result set (e.g. calling a search service directly via so-called RIDC).
    In the given context I am also interested what your use case is. OOTB CMIS in WebCenter Portal is used, for instance, in Content Presenter, where it is content rather than "parameters" what's displayed.

  • Count the number of days in the selected range using Customer exit

    Hi Experts,
    we have requirment where user is asking to add a column to report, which will have 'count of days for which key figure is having values' for each of the months and the Header would be 'Day Count'
    Please let me know if its possible using Customer exit?

    Hi,
    In our report we have two characteristics site no. and product and we have 6 key figures of type quantity and Input for the report is Fiscal year/period
    So in the report Key figures are populated with values for respective site no. and product combination
    Now the user wants new column in report which will have header u2018Day countu2019 and it should Simply count the number of days in the selected range that have a volume different than 0 for key figure
    Please let me know if more details are required

  • Count the number of business partners on a non-cumulative key figure

    Dear experts,
    I have a problem. We have an InfoCube in BW in which the Activity Journals are loaded every day. In this Activity Journals it is registered that a Material was listed (available) at a customer (value 0 or 1).
    We have a non-cumulative key figure MXW_LISTN with inflow (MXW_LISTI) and outflow (MXW_LISTO). In time this key figure receives +1 or -1 for a customer, material combination.
    I want to use MXW_LISTN in the query in a specific way. The key figure on itselve tells me how many listings there are. However, I want to know how many business partners there are with a listing.
    I was thinking about an exception aggregation on MXW_LISTN with reference characteristic 0BPARTNER and "Count <> 0". BW however refuses to do so and only lets me do simple aggregations such as AVG, MIN, MAX etc.
    Can you think with me and come with an proper solution to count the number of business partners with a listing?
    Your help is very much appreciated and rewarded!
    Best regards, Hans de Klein

    Would anything with virtual key figures be a solution? Please help me out!
    Best regards, Hans de Klein

  • Workflow to count the number of items in a list

    Hello Friends,
    I've a requirement, I need to count the number documents uploaded for a particular list item (identified by a unique Title) and if the count matches with the count stored in another list for that particular list item, bingo......I will update the status
    field to completed.
    Can anybody please help me with this. How do I do this ? Is it possible even ?
    Thank you very much in advance. :)

    Hi,
    I haven't tried this but i think you can achieve it by
    1. Add an Call HTTP activity in your workflow and make a REST call get items
    2. Use Count Items in (Dictionary variable)to get the Items counts of attachment.
    3. Then, lookup for your another list in match item count.
    Your REST query can be similar to this
    url: http://site url/_api/web/lists/getbytitle('list title')/items(item id)/AttachmentFiles/To make Rest call in SharePoint designer https://sergeluca.wordpress.com/2013/04/09/calling-the-sharepoint-2013-rest-api-from-a-sharepoint-designer-workflow/
    https://msdn.microsoft.com/en-us/library/office/dn567558%28v=office.15%29.aspx

  • Is there a recommended limit on the number of custom sections and the cells per table so that there are no performance issues with the UI?

    Is there a recommended limit on the number of custom sections and the cells per table so that there are no performance issues with the UI?

    Thanks Kelly,
    The answers would be the following:
    1200 cells per custom section (NEW COUNT), and up to 30 custom sections per spec.
    Assuming all will be populated, and this would apply to all final material specs in the system which could be ~25% of all material specs.
    The cells will be numeric, free text, drop downs, and some calculated numeric.
    Are we reaching the limits for UI performance?
    Thanks

  • How to count the number of rows in a resultser object?

    hi there
    how to count the number of rows in a resultser object which may contains millions of rows? besides using a while loop? thanks

    You don't, you execute a query whose result is the record count of those records that match the search and then you execute the actual query to create your record set. Typically you do
    select count(id) from YourTable where [filter]
    from the resulting ResultSet do
    int res.getInt(1);
    which gives you the count and then
    select id from YourTable where [filter]
    to produce the actual result set.
    in the second query the id part can be substituted with the actual fields you want.

  • Count the Number of Rows in Data form

    Hi,
    I want to count the number of rows in a data form.In my form there is a large number of rows.Is there any way to count it.
    Thanks.

    If you are on 11.1.2.x then you could look at adding a formula and using the CountA function - http://download.oracle.com/docs/cd/E17236_01/epm.1112/hp_admin/apcs03s06.html
    Otherwise it would be possible using custom javascript which you would have to had some experience in using.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Count the number of rows in a workbook.

    Hi Experts , I have a requirement to count the number of rows in a WorkBook.Will it be possible to do this by creating a KeyFigure?Or are there any options in BEx to count and display the number of Rows.Many thanks for all your help.

    Hi
    In the query create a calculated key figure called 'Count' and put a formula as =1, then use this count where ever applicable..you can very well count the no. of rec.
    with this.
    Hope this helps..
    assign points if useful..
    Cheers,
    Pattan.

  • Count the number of occurence in table with toplink

    Hi !
    there is no way to build a query with expressionbuilder or .... to count the number of occurences in my table ?
    i don't want use query " select count(*) from table "
    thanks

    Not sure of the question. Are you looking to get the sql "select count(*) from table" from using the TopLink expression framework or are you getting that SQL already and want something else?
    If you are looking just to get the count from a table/class, you can use a ReportQuery:
    ReportQuery rquery = new ReportQuery(ClassToQueryOn.class);
    rquery.addCount(); //equivalent to count(*);
    session.executeQuery(rquery);
    You can use a report query to return data instead of objects, and use selection criteria just like a normal read query.
    Best Regards,
    Chris

  • Count the number of message in remote queue.

    Does any method in MQSeries or JMS, can count the number of message in remote queue.
    I try to use QueueBrowser to browser, but got exception when browse the remote queue.
    thanks.

    You cannot read from, browse or query a remote MQ Queue, only write to it. Try www.mqseries.net or ibm website for any ways around this...

  • Count the number of times a character is in a string using pl/sql

    I need to count the number of times ":" appers in the string ":XXX:CCC:BBB:".
    I have sound some solution using SQL but I do not want the context switch.
    Also I am on 10g so I can not use REGEXP_COUNT.
    Any help would be great.

    Hi,
    length(REGEXP_REPLACE(':XXX:CCC:BBB:','[[:alnum:]]'))counts all kinds of punctuation, spaces, etc., not just colons. Change any (or all) of the colons to periods and it will still return 4. Use '[^:]' instead of '[[:alnum:]]' if you really want to count just colons.
    Also, "SELECT ... FROM dual" is usually needed only in SQL*Plus or similar front end tools. In PL/SQL, you can call functions without a query, like this:
    x := NVL (LENGTH (REGEXP_REPLACE (txt, '[^:]')), 0);

  • Count the number of docs

    Hello,
    Is there anyway that we can aount the number of documents when we run a query..Like can we introduce any key figure in the query whose function will be to count the number of docs.PLease let me know.
    thanks

    Hi,
    In Infocubes, DSO's there will be a Keyfigure called as Number of Records.
    You can use that KF in your Query as Restricted Key Kigure.
    For eg : You need the total count of employees
    Then you need  to the use the KF no.of records with the 0employee char.
    Hope this will helps you ....
    Thanks and Regards
    Ashwin

  • Count the number of records between two key values (BTREE)

    How can I count the number of keys between two values?
    I'm using python driver, and BTREE access method.
    ====>
    ideally what I want is to average a whole time-series data set (the intervals can change) to a given number of points. The keys are the time stamps and the values are the data that needs to be averaged. I need to count the number of records between two time stamps so that I can divide that number by the number of points i need, and average the data. What is the best way to do this?  Or should I just keep the intervals for the time stamp constant and use RECNO access method?
    Thank you
    (first post btw.. and why aren't there many people in stackoverflow who answer Berkeley DB questions?)

    BDB is an embedded db and it does not have any internal counters or statistics that you could grap to use for this.    You will need to do it manually.
    You can create a cursor, grap the records you want, each time you get the next record you bump a counter.
    If you are using RECNO, you can use a cursor to get the record number of the record (DB_GET_RECNO), and if all you data is in
    sequentail records with no missing records you can figure out the total count by take last rec # - initial rec # + 1 to get a total count.
    If you switch over to the SQL API, you can issue a SQL query to give you a count.  Select count(*) Where .......
    Since you have to grab the data anyway, then best may be to count records as you go along.
    thanks
    mike

Maybe you are looking for

  • Text Caption Transition--"Apply to All" is missing

    Hello, I just upgraded to Cp 5 (from 3) and love it, love it, love it. I will be doing a demo at a conference next week (i.e., "Here is how you build a simple music listening exercise in Captivate...") and I want to demonstrate the "Apply to All" fea

  • CO28: Unable to connect to Siebel Gateway Name Server

    Hello. I'm trying to install Siebel on a WinXP machine to familiarize myself with the Case Management module from Siebel. I have tried many times, installing and uninstalling software. I keep getting this error message when configuring a new Enterpri

  • Compatible HD tvs

    I'm going to purchase a new flat screen tv at Sam's Club, and just purchased an iMac. Any suggestions about brands that are compatible with my new computer? I am a real novice, just getting started.

  • Possible a new virus in Lion?

    I have strange issues what I can repeat any time: Plug in my USB stick, and then I can not eject no matter how I try to force to eject. If I unplug it, a back screen appear with a message in 5 languages tell me have to push power button to restart! D

  • My ipad 2 is all of a sudden opening apps and internet by its self and playing videos by it self and open notes and typing and saving them

    I have had my Ipad 2 for a year now a couple of days ago it started acting all weard like opening notes and typing by it self and opening the internet and searching **** videos i am afraid that someone hase gotten my ipad 2 serial number please help