Define custom made aggregation rules

Hi,
If I edit a column formula in Answers, many different aggregation rules (sum, average, count etc) are availabe. However, it doesn't seem possible to define my own aggregation rule, somelike "SUM(revenue)/9". Isn't this possible?
TIA!
Edited by: Erik on 28-Mar-2011 14:44

In answers we can give sum(revenue)/9 but it shows the same result for all the rows.If u r having any other column in the criteria ie dimension the give like this
Sum(revenue by dimension)/9

Similar Messages

  • How to define an aggregation rule for a dimension based on bridge table?

    Hello,
    I need a solution for aggregating data correctly when using a dimension based on a set of dimensione tables containing a bridge table. Please find below a description of my business case and the OBIEE model which I’ve created thus far.
    Business Case
    The company involved wants to report on the number of support cases, the different types of actions that were taken and the people involved in those actions. One support case will undergo a number of actions (called ‘handelingen’) until it is closed. For each action at least one person is involved performing a specific role, but there can also be multiple persons involved with 1 action, each performing a different role for that action. This is the N : N part of the model.
    The problem that I face is visible in the two pictures below:
    http://i84.photobucket.com/albums/k24/The_Dutchman_2006/OBIEE/sample.png
    As long as I don’t include anything from the Dimension Meelezer in my report, I get the correct number of handelingen (7). When I include the person (called ‘Meelezer’), the measuere per action is multiplied by the number of persons/roles involved with that action.
    When I changed the Aggregation rule in the report column #Handelingen to ‘Server Complex Aggregate’ I do get the correct endtotal:
    http://i84.photobucket.com/albums/k24/The_Dutchman_2006/OBIEE/sample2.png
    I believe it should be possible to define in the repository a different aggregation rule for individual dimensions, but I’ve not been able to achieve this.
    Explained below is what I have created in my Physical and Business Model & Mapping layers:
    The Physical Model is built like this:
    (This is just a small part of a much larger physical model, but I’ve only included the most relevant tables)
    http://i84.photobucket.com/albums/k24/The_Dutchman_2006/OBIEE/PhysicalDiagram-1.png
    The Fact table (ALS Feit Zaakverloop) contains FK’s for the action (FK_HANDELING, joined to ALS Dim Handeling), the date the action took place (FK_DATUM_ZAAKVERLOOP, joined to ALS Dim Datum Zaakverloop) and the uniqe group of people involved (FK_MEELEZERS, joined to ALS Groep Meelezers) and a measure column (SUM_HANDELINGEN) populated with the value ‘1’ for each row.
    The Bridge table (ALS Brug Meelezer/Reden Meelezen) contains three FK’s: FK_GR_MEELEZERS (joined to ALS Groep Meelezers), FK_MEELEZER (joined to ALS Dim Functionaris) and FK_REDEN_MEELEZEN (joined to ALS Dim Reden Meelezen).
    The Business Model
    In the business model, the four physical tables for the N:N relation have been combined into one logical dimension table.
    http://i84.photobucket.com/albums/k24/The_Dutchman_2006/OBIEE/BusinessModel-1.png
    DIM Meelezer contains one LTS in which the four physical tables have been combined:
    http://i84.photobucket.com/albums/k24/The_Dutchman_2006/OBIEE/LTS1.png
    And all the required locical columns have been created:
    http://i84.photobucket.com/albums/k24/The_Dutchman_2006/OBIEE/LTS2.png
    DIM Meelezer has also been identified as a bridge table and a Business Key has been defined on a combination of the FK’s in the bridge table and business codes of the two dimension tables.
    http://i84.photobucket.com/albums/k24/The_Dutchman_2006/OBIEE/BMDIM.png
    Next a hierachy was created for Dim Meelezer:
    http://i84.photobucket.com/albums/k24/The_Dutchman_2006/OBIEE/Hier.png
    In Feit Zaakverloop, a measurement called ‘# Handelingen’ was created using SUM_HANDELINGEN, with an aggregation rule of SUM.
    In the LTS of both the DIM Meelezer and Feit Zaakverloop, the Logical Content Levels have both been set to: LVL Detail – Meelezer.
    Please provide suggestions that will NOT require changes to the physical datamodel as they would require too much time to achieve (or at leats would not be ready before my deadline.
    Thanks!
    Edited by: The_Dutchman on Dec 13, 2011 11:43 AM

    Hmm, no replies yet...
    Am I in 'uncharted territory' with this issue?

  • The reasoning behind aggregation rules at report level

    Hello guys
    I notice that in the answer criteria, we can define column formula of each columns in the request, but we can also set aggregation rules for the numeric columns..
    I'd like to have a deeper understanding on how these settings work..
    The Avg, Max, Min, Count are pretty clear and self-explanatory to me.
    My main question is the difference between 'default', 'Server determined', 'complex server aggregate', and 'Sum'.
    In a lot of the measure columns when the aggregate rule is 'default', when I do subtotaling in report views, I would actually get the right total amount by dimension columns, however there are also places in the report where the sub total is off, so I have to go and set the aggregate rule of that measure to 'Sum' then the total becomes correct 100%. When I try 'server determined', 'complex server aggregate', some measures change and some don't, but this is not in a pattern of change that I can understand the concept behind. The OBIEE documents said very little about this part
    So is there more detailed information out there that explains more about what these options are doing?
    Thanks in advance

    Hi Shruthi,
    To be clear you have one table 'DIM_LF_B' and its separated out as FACT and DIM in BMM layer with respective formulas ? If yes check this http://www.varanasisaichand.com/2012/04/fact-and-dimension-from-single-source.html
    let me know if it is different
    Thanks,
    Saichand

  • Where does Designer stores user defined custom colors?

    Hi,
    Everytime I restart Designer, all my custom colors are reset to white. Which is pretty annoying. So I want to export them to a file at least.
    I figured, that user defined custom colors in Windows are stored in the Registry in:
    [HKEY_CURRENT_USER\Control Panel\Custom Colors]
    or alternatively in:
    [HKEY_USERS\.DEFAULT\Control Panel\Colors]
    But apparently they are not. Changes made to the custom color palette in Designer are not stored in the registry. Those values still remain FFFFFF.
    Does anyone know, where Designer stores user defined custom colors? Is there a 'secret' undocumented .ini-file I missed?
    Regards,
    Steve

    Does anyone know where the information added by Java reside?Essentially, in the directory.
    Is there any way to query this information using VC++ dll or some other way?Yes, there are operating system APIs for it. That's how Java does it.
    Does anyone know which windows dll or classes are used by Java to add these custom attributes
    I tried lot by digging into code by decompiling java NIO classes but could not get it.I would try looking up the Windows API myself.

  • Can I transfer a custom made pattern from Illustrator to Photoshop?

    HI all,
    I have created a custom made pattern in solid black in Illustrator and would like to use it as a defined shape in Photoshop, can I do this?

    First, create the pattern in Illustrator and save it as a pattern swatch. Apply the pattern to a certain size squares to your liking, expand it, then flatten the transparency copy and paste from Illustrator to Photoshop as a path/smart object.
    From there, you can define it as a pattern in Photoshop.

  • Define Custom Shape Option is Greyed out

    I'd appreciate any help that could be provided, I have not been able to define custom shapes in CS6. I'm using the pen tool in shape mode, I've used the path selection tool and switched between the path operations. I've made sure that the shape is selected in the paths work bar. Nothing seems to open up the define custom shape option. Is there a setting I'm neglecting to check? Thanks in advance for your thoughts.

    I just tried deleting first just the tool preferences, and then all the photoshop preferences. There has been no change...Still unable to get define custom shape as an option.
    I've also tried using the path option instead of the shape selection and that also makes no difference.
    Just as a note I have used the same steps on another computer running CS6 and it functions 100% properly.

  • Can we expose aggregation rule in answers?

    Hi All,
    Can we expose aggregation rule in answers?
    that is if have a measure 'Sales' whose Aggregation defined in BMM layer is 'Sum'.
    is it possible if we bring this measure column in Answers which gives me its aggregation defined in BMM layer.
    Regrads,
    Som

    Somu, i dont think there is automated way for doing this dynamically.
    the descriptions defined in the Business Model will come as hover text for that column in presentation area. If you put aggregation detail in that column description, then you can see that if you put mouse over on that particular column in answers.
    or create a new column in the report and put the text when ever needed. :-)
    - Madan

  • Edit formula Aggregation rule?

    What is the aggregation rule meant in formula tab?
    What happen if I give aggregation rule in formula tab?
    Will the aggregation rule in formula tab overwrite the predefined aggregation rule in UI/Repository?
    If I want to change the aggregation rule only to the grand total where to specify?
    Can I give two different aggregation rules each one for values and grand total respectively?
    If I give aggregation rule “Default” in Formula tab what will happen?
    If I give aggregation rule “None” in Formula tab what will happen?

    Check the below link, the same can also get from Help link in Answers
    All the aggregation functions are top of what you defined in the RPD, Aggregation rules in Answers will not override RPD aggregation rules, since RPD is base for Answers
    http://docs.oracle.com/cd/E12096_01/books/AnyUser/formulaeditor.html#wp1096420

  • Math Calculation - Dividing Different Aggregated Rule

    Is there a way to take a numeric value with an aggregated rule (Count) and divide the denominator value which has to have a aggregated rule (SUM)?
    Edited by: NOTW_TEK22 on Mar 6, 2013 7:38 AM
    Edited by: NOTW_TEK22 on Mar 6, 2013 7:39 AM

    I was able to resolve my problem with the below formula: I was using a custom field not derived from an object in the data hub and an object that was in the data hub in this syntax.
    CAST ("Revenue Metrics"."# of Open Opportunities" / "Revenue Metrics"."# of Opportunities" as float) * 100

  • Retaining Custom made Icons For Automator Apps

    Hello, I've noticed that when I give a custom made icon to an Automator app, it will display it on my Mac but when I send it to someone, it's original icon is displayed. Is there any way to have it display the custom made icon even when I send it to someone else?

    Jerry,
    I suspect you are using the old trick from the Classic OS of just transferring the icons between the Info windows.
    I think there is a way to retain that icon but it is quite involved. I haven't tried this so just guessing at this point.
    The normal icon for the Automator app is stored in the package that is created when you save the completed workflow. You can get access to the package by using the Show Package Contents contextual menu item in the Finder.
    Inside the package you will find a number of files and folders. Within the Resources folder you will find two files related to the icons for the package, one for the Applet and one for documents.
    The Applet icon file is the one that you need to work on and change to retain your modified icon. There is a little utility called Icon Composer that is an Apple product available on my machine in the Open with dropdown contextual menu. This might have been installed with the Developer tools though.
    Within Icon Composer you can replace the icons within the Applet file and they should stick upon transfer to another machine. Here is the description within the help files of Icon Composer.
    "You need to give IconComposer at least one image to generate an icon (.icns) file. However, you should provide four different versions of the icon. IconComposer optimizes each version for rendering at the resolutions of 128x128 pixels, 48x48 pixels, 32x32 pixels, and 16x16 pixels.
    If you give IconComposer only one image, it should be optimized to look best at 128x128 pixels. This ensures it looks goods when displayed at the maximum resolution of 128x128 pixels, and looks acceptable when scaled down to the smaller resolutions.
    If you supply different sizes of the icon to IconComposer, you should also provide 1-bit image masks for the three smaller resolutions. An image mask defines what parts of the icon are clickable. Assuming the color black is used to compose the image mask, any areas that are colored black in the mask define which parts of the icon can receive mouse clicks.
    IconComposer can create icons from the following image formats: GIF, JPEG, PDF, PICT, PNG, TIFF, and any of the QuickTime-supported image formats. To create the actual icon file, drag the icon images to the corresponding image wells in IconComposer. Then choose Save from the File menu, which prompts you to name the icon file and choose a location for it."
    So as you can see it could be quite involved.
    It might be easier to develop a method to automate what you are currently doing and provide the people with a blank file that has the other icon to transfer.

  • Sorting with layout set for NewsBrowser and custom made properties

    Hi
    I have developed some custom made properties that is used for each document based on XML Form. But how can I obtain a custom sorting order based on my properties.
    After created a document I define some properties for company, department and process. And using the layout set for NewsBrowser I will have my documents sorted due to my processes. Lets say that I have set the properties for the process for some documents, e.g. SA1010, SA1010-1, SA1010-1a, how to obtain this sorting order in a KM-Navigation-iView using layout set for NewsBrowser?
    Regards
    Kay-Arne
    Message was edited by: Kay-Arne S.  Aarlie

    Hi Kay-Arne,
    A namespace defines a system area in which a property (defined by a property ID) is allowed to exist only once. So for your own predefined properties you should use an own namespace in order to be able to use a Property ID that is already available in another namespace. Check this link for more info:
    http://help.sap.com/saphelp_nw04/helpdata/en/1a/9a4a3b80f2ec40aa7456bc87a94259/frameset.htm
    In the Property Definition you later use the Namespace Alias. This alias (with ":PropertyID") you would also use in the LayoutSet Parameter mentioned above.
    Hope this clarify things ,
    Robert

  • How can we define custom error page in protal application

    How can we define custom error page in protal application, like we define "jsp Error page " in JSPs

    Hi,
    Check these:
    Customization of Portal Runtime Errors and portal standard error codes
    http://help.sap.com/saphelp_nw04/helpdata/en/9a/e74d426332bd30e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ec/1273b2c413b2449e554eb7b910bce7/frameset.htm
    Regards,
    Praveen Gudapati

  • How to extract data from custom made Idoc that is not sent

    Hi experts,
    Could you please advise if there is a way how to extract data from custom made idoc (it collects a lot of data from different SAP tables)? Please note that this idoc is not sent as target system is not fully maintained.
    As by now, we would like to verify - what data is extracted now.
    Any help, would be appreciated!

    Hi,
    The fields that are given for each segment have their length given in EDSAPPL table. How you have to map is explained in below example.
    Suppose for segment1, EDSAPPL has 3 fields so below are entries
    SEGMENT          FIELDNAME           LENGTH
    SEGMENT1         FIELD1                   4
    SEGMENT1         FIELD2                   2
    SEGMENT1         FIELD3                   2
    Data in EDID4 would be as follows
    IDOC           SEGMENT                          APPLICATION DATA
    12345         SEGMENT1                        XYZ R Y
    When you are extracting data from these tables into your internal table, mapping has to be as follows:
    FIELD1 = APPLICATIONDATA+0(4)        to read first 4 characters of this field, because the first 4 characters in this field would belong to FIELD1
    Similarly,
    FIELD2 = APPLICATIONDATA+4(2).
    FIELD3 = APPLICATIONDATA+6(2).  
    FIELD1 would have XYZ, FIELD2 = R, FIELD3 = Y
    This would remain true in all cases. So all you need to do is identify which fields you want to extract, and simply code as above to extract the data from this table.
    Hope this was helpful in explaining how to derive the data.

  • Could not complete the define custom shape command because of program error

    I am using the pen tool to draw a shape and then select it to create a custom shape. I use path: edit - define custom shape = "could not complete the define custom shape command because of program error"
    The error message appears once I click the define button.

    Also, I solved this another way, seems to happen to me often. I click on the path panel, near layers panel and clicked on 'load path as a selection' (3rd icon on bottom from left), then click 'make work path from selection' (4th icon on bottom from left). Then you will see that the whole work area is part of the selection, including your desired shape/path. In order to change this, just select 'path selection' tool and highlight each corner and delete each point from each corner, then you are left with the desired selection to create a shape. I am self taught and this seem unorthodox, but it works.

  • When I click on Define Custom Shape, I get an error message: "could not complete your request because of a program error."

    I'm using Photoshop CC 2014. When I click on Define Custom Shape, there is an error box that says "could not complete your request because of a program error."  How can I solve this problem or work around it? I've looked on the internet for answers but could find no solutions to this. The custom shape tool is 99% of what I use!

    Consider resetting the Pen tool by right clicking here
    and if that doesn't solve the problem a logical next step would be to reset your Preferences.
    To reset Preferences:
    If Photoshop is already open on your screen, close it (Quit). Then hold down Shift+Ctrl+Alt (Win) / Shift+Command+Option (Mac) on your keyboard and start Photoshop.
    A dialog box will pop up asking if you want to delete the existing Preferences file (the "Settings"). Click Yes in the dialog box. The existing Preferences file will be scrapped and a new one will be created.
    By the way, if "The custom shape tool is 99% of what I use!" have you considered Illustrator?

Maybe you are looking for

  • Database Error during installation of SAP NetWeaver 7.01 ABAP Trial Version

    Hi All, I was installing the SAP NetWeaver 7.01 ABAP Trial Version but during the installation i got some MaxDB error. Log.txt (Apr 28, 2010 10:13:41 PM), Install, com.sap.installshield.maxdb.maxdb_call_sdbinst, err, An error occurred and product ins

  • Setting current row using a string key in an iterator

    Hi , I am using Studio Edition Version 11.1.1.6.0 and integrated wls. QUESTION:_ As suggested by Sudipto i want to brief up my query. I have a master-detail relationship .Using that relation's Tree model i am displaying through an <af:iterator> . I w

  • IOException: invalid content type for SOAP: TEXT/HTML

    Hi all, After the IS received a SOAP request successfully and sent it to the Adapter Engine I get an IOException in my SOAP Adapter (I configured a SOAP communication channel). From my RWB I can see: 2005-08-12 10:53:17 Success SOAP: request message

  • Can someone explain what this is?:S

    Hey guys, Again sorry to be so vague in the question but i have no idea what i am dealing with here. http://quicktake.morningstar.com/stocknet/secdocuments.aspx?symbol=ko On this site page i wanted the data you will see underneath the data i wanted t

  • CRMXIF Z fields.

    Hello friends I need help here i am using CRMXIF_ORDER_SAVE to load opportunities in CRM with LSMW; in this segment meant for customer fields doesn´t have the fields in it to map the values E101CRMXIF_CUSTOMER_H_X       could some body please tell me