Formula in the answers page

Hello!, I have a problem to make a table in the page of answers: I explain my problem with an example.

Suppose you have two dimensions and a measure

This two dimension have childs (A, B, C) (some dimensions are IDENTICAL).

Dimension1:
-A
B
-C

Dimension2:
-A
B
D

OK... now if I chose my measurement have a table like this:

Dim1 - Dim2 - measure
A-------------A------------10
---------------B------------15
---------------D------------12
B-------------A------------20
---------------B------------16
C-------------B------------20
---------------D-------------9


I would like two additional measures when Dim1 = Dim2 it shows date2 and what Dim1, Dim2 <>it shows decisif3

But if I do a deal in the criteria tab do not work because it shows a table like this:

Dim1 - Dim2 - measure1 - date2 - decisif3
A---------------A-------------10---------------10-----------(blank)
-----------------B-------------15-------------(blank)----------15
-----------------D-------------12-------------(blank)----------12
B---------------A-------------20-------------(blank)----------20
-----------------B--------------16---------------16-----------(blank)

How can I get part 3 (white) show me the sum of 15 + 12 in case A or 20 in the case of B? (when dim1, dim2 <>)

For measure 2, I have this formula:
BOX WHEN "Dim1" = 'Dim2' THEN 'measure' of OTHER END NULL
For measure 3, I have this formula:
CASES WHERE 'Dim1, Dim2 "<>" ' and THEN 'measure' of OTHER END NULL


My final table should be:

Dim1 - measure1 - date2 - decisif3
A-----------------37-----------------------------10-----------------------------27
B-----------------36-----------------------------16-----------------------------20
C-----------------29------------------------------0------------------------------29

My problem is how to separate a measure with two additional measures with a condition of the case.

Can U help me?

Try this:

dim1, sum (measure1) by dim1, sum (CASE WHEN "Dim1" = "Dim2" CAN "measure" ELSE 0 END "") by dim1, sum (BOX WHEN "Dim1"<>"Dim2" CAN "measure" ELSE 0 END) by dim1

What about John
http://obiee101.blogspot.com/

Tags: Business Intelligence

Similar Questions

  • text quoted in the answer page has too long lines

    When I reply to a message, the original message is quoted
    (lines begin with a ' > '), which is very good. The problem is that the lines
    are too long, they do not correspond to the screen.
    I do not understand why: when I type a text, thunderbird
    Properly cut lines - he never goes off the screen.
    And also when I display a text message never goes off the screen.
    In short: I can answer to a message and when I compose my text the original text
    in the quote turns off the screen but then later when I view the email
    (assuming that the email for example was Bcc - ed for me) the text quoted that, before you go

    off the screen can now be seen correctly.
    

    Thanks for your help.

    It does not help if you use Edit > wrap (or use Ctrl + R) when in the compose window?

    If this is useful and could you find disturbing because it happens too often, perhaps the additional format buttons or an another add-on could contribute.

  • Pages - trying to link the issue to the paragraph of the answer

    Hi there: neophyte user Pages for businesses trying to link the issue of the survey to a paragraph "answering machine".  As an example...

    Question:

    What's your brown grass?  Yes No

    If the answer is Yes, then want to fill and print a paragraph explaining...

    Your grass is Brown, because you're not watering or you need phosphorus or whatever.  Here's what you need to know about this resolution.  etc, etc.

    Any suggestions on the Pages or other popular apps.

    V5.6.2 pages is not suitable for the use of processing of affairs where one expects it to be a clone of Microsoft Word - who is not. There is no content link intra-document, support forms or runtime macros that manipulate the content of the document when the interactive user input. Pages is not a web design tool.

  • In fact, I need help but can't find the answer. Please... Lately when it is open a new tab it does not open with a blank page. I don't want to put my home page as

    In fact, I need help but can't find the answer.
    Please... Lately when it is open a new tab it does not open with a blank page. I don't want to put my home page as empty as when I open Firefox, it automatically load my hotmail page. But then if I open other pages I don't get a blank page. Help, please?
    Thank you.

    [Personal information deleted by the moderator. Please read the guidelines and rules of the Forum, thank you.]

    Hello, please refer to customize the page new tab to turn off the function.

  • Is it possible to answer a question in a quiz-unlimited page without leaving the quiz page?

    Hello together!

    We work with quiz-pages in our Adobe Captivate project. In the menu quiz, we can choose unlimited attempts to answer the question as often as possible. In HTML, if the answer was wrong, there is no way to answer the question once again, without leaving the page, go to the next page and then return to the page of the quiz. Is it possible to answer a question quiz as often as possible without leaving the page?

    Thank you for your support!

    Kind regards

    HSS Unternehmensberatung, Switzerland

    We seem not to understand each other? In Captivate 9, you must verify knowledge slides, which, unlike the normal Question slides never will be added to the score because you can even add a note to these slides. In earlier versions, you had to tweak quiz slides to convert slides to check knowledge simulated by removing their score on the Total score.

  • Is it possible to find the two sentences into one pdf file? For example, I know the words 'Here' and 'the answer' occur more than once in my document, but only once on the same page. I'm looking for this page.

    Is it possible to find the two sentences into one pdf file? For example, I know the words 'Here' and 'the answer' occur more than once in my document, but only once on the same page. I'm looking for this page.

    I tried to do this by using the search but it will find only them, if they occur as a long chain, that is to say "Here's the answer" rather than how they occur in the document it is to say "Here 's" a bunch of information that leads you to 'the answer'. The search feature so standard did not help.

    Then I tried to do this by using the tool to delete (obviously not the application of writing!) because it allows me to search for multiple words or phrases, however it is not highlight what page both are found. I tried to turn on the preference to enable deletions of comments and even if it meant that I could then go through all the comments, it's still not faster than my document is more than 1,000 pages, which meant there were too many total comments for me to be able to easily identify which page had both.

    Any ideas?

    There is no built-in way to search for two strings and limited to show only the results that appear on the same page.

    It can be done by using a custom script, however.

  • Add the link for help outside the answer, dashboard link at the top of the page?

    Hello world

    I would like to add the link for help outside the answer, dashboard link at the top of the page.

    http://hiphotos.Baidu.com/chenchendf/abpic/item/f44bb86eddc451dacb48b252b6fd5266d116326f.jpg

    Could you please let me know how. the bi version is 10g

    I found the ref: http://oraclebizint.wordpress.com/2008/01/31/oracle-bi-ee-101332-adding-custom-urls-to-the-dashboard/
    but it is not accessible.

    Thank you

    Hello

    Follow this-

    Stop the BI server

    Put the code below in the file commonuitemplate.xml under OracleBI\Web\msgdb\messages dashboardURL code (search for dashboardURL) above

    &(lt; td class = &(quot; Assets ProductCell &(quot; &(gt;

    <(a href="https://co-ds-ipm-a01:9704/analytics/res/OBIEE%20Guide.pdf" target="@{target}">Guide OBIEE &(lt; table &(gt;
    -

    Note: Code above please delete (wherever find you it, I put it as his poster not the code.)

    OBIEE Guide.pdf belongs under path (OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res)

    Restart the BI server

    Kind regards
    Srikanth

  • After the last update of Firefox, youtube videos do not play. The answers I've found are not relevant or too complicated.

    After the last update of Firefox, youtube videos do not play. The answers I've found are not relevant or too complicated.

    Hi Cbella, YouTube is generally used with an HTML5 player, who is a player who does not use a plugin video in MP4 format (for example, it does not use the Flash plugin).

    Now, I based this assertion on Windows, Mac may vary.

    Could you do two tests for me?

    Test #1:

    To verify which player you see (which does work), try a right click or Ctrl + click on the YouTube Player and check the "context menu" that rises. If it's the Flash, there will be a menu short, referring to the Flash on the last line. If you do not see that, if you get a regular menu of Firefox, it's probably the HTML5 player.

    Are what player you?

    Test #2:

    If you open the following test page, which videos to play?

    http://www.quirksmode.org/HTML5/tests/video.html

    • The video "H.264/MP4" play?
    • The video "WebM" play?

    Thank you.

    Also, you can check if your Flash plugin is up to date? You can use the site Mozilla Plugin check for this (please ignore the other plug-ins page wants you to update at the moment avoid making the situation more complicated):

    https://www.Mozilla.org/pluginCheck/

  • everytime I open firefox it allways opens to the previous page

    Hi everytime I open firefox it always opens on the previous page

    Hi, go to Options (gear) - in the 3 menu bar unless you have moved, > general and make sure that ' when Firefox starts ' is not set of "show my windows and tabs from last time.»

    If your question is resolved by this or another answer, please take a minute to let us know. Thank you.

  • Mail carrier arrives in a new tab instead of the home page

    Recently I met a change when I open a new tab. Instead of the home page (as was the case previously) I get my carrier of electronic mail (e-mail) white page with an illustrated history of the last visited web sites. The statement tab in Windows should open new tabs with the home page and there is no problem that when you use Internet Explorer. Comments section Mozilla says to click on an icon of gear in the top right of the screen. There's no icon on my screen. How can I fix it? Thank you.

    By the way... in case you meant a separate new window (Ctrl + n) instead of a new tab in the same window (Ctrl + t), which should follow the setting of your home page. No need to go in: config for this. See:

    Add-ons can also override this setting, then see my comments on this in the previous answer if Firefox is ignorant of your homepage when you open a new window.

  • I forgot the answers to security questions, and I don't have a spare email. How should I proceed

    How can I change my security password if I forgot the answers to security questions?

    You must ask security team account Apple to reset your security questions. To contact them, click here and choose a method; If this page does not list one for your country or if you are unable to call, complete and submit this form.


    (143602)

  • I forgot the answers to security questions

    I forgot the answers to security questions, and does not appear when I click change issues, the link "reset your security questions. I got an email from relief. so, how can I change the questions?

    You must ask security team account Apple to reset your security questions. To contact them, click here and choose a method; If this page does not list one for your country or if you are unable to call, complete and submit this form.

    (143453)

  • I forgot the answer to my security question, I tried to update these answers, but to update them also, I must first answers old issue of security which I forgot how can I update and change my security question and the answers?

    I forgot the answer to my security question, I tried to update these answers, but to update them also, I must first answers old issue of security which I forgot how can I update and change my security question and the answers

    ?

    You must ask security team account Apple to reset your security questions. To contact them, click here and choose a method; If this page does not list one for your country or if you are unable to call, complete and submit this form.

    (143315)

  • When I post a question how can I find the answer?

    When I open the communities page where my list of questions is housed?

    Is it under people search publication content?

    I never find answers that I get if I open the email I'm sent. Thank you.

    After connecting to NCP, click content, and then in the menu on the left, on the author or participation.

    The author contains all the threads you've started and participated will list the threads that you posted, but not necessarily started yourself.

  • How to remove the default page cat game

    When you start firefox, it has a low quality of moving the image of a cat (which is very irritating)

    How can I remove this image from the default page?

    Allergy severe chat you can also proceed as described by cor - el here: https://support.mozilla.org/en-US/questions/998610#answer-568769

    ;-)
    

Maybe you are looking for

  • Multifunction color HP LaserJet Pro 200: problem error 79

    HP LaserJet Pro 200 color MFP M276nw that has error 79 when the woman made an impression. I downloaded the firmwear date, but is not complete installation eventhough the poster 100% progress. Print has only 400 pages printed since new. Need help

  • Don't know Code

    What is CCC.exe on my computer? Whenever I stopped it says that CCC.exe still works, but then it stops. Can you just tell me what is CCC.exe?

  • BlackBerry App do not displayed

    I have download and install BlackBerry_JDE_PluginFull_1.1.2.201003212304 - 12.exe and developed an application in the Hello world. I tried to run on the device Simulator 8900 BlackBerry-SDK. When the Simulator is booted, I found that the application

  • List of authentication expiration dates Mac workaround

    Hello world We are currently developing Dot1x in my business, by using Active Directory and accounts the customer of Cisco mobility with NAM module, as well as Mac Authentication Bypass lists for our non-suppliant measuring devices. We often contract

  • How to print screen in windows 8

    When I'm on a screen I don't know how to lift the print option