How to create a simple calculated measure?

Hello

I'm having problems creating a very simple calculated measure within the OBIEE administrator. Let's say I have a dimension 'product' with the 'product price' attribute and a measure "number of sales. I'm trying to define in the layer of "Business Model" of the measure calculated 'total sales. To do this I have defined as as a logical column with the phrase 'product price' * 'number of sales.

But OBIEE isn't calculating what I expect, this makes a Cartesian product of the products and the grand total of the sales, which makes no sense. To relieve that I tried to define the measure as partners at the product level, then I correct the calculations but sales per product are not added together in a total.

In any case it seems to be a very simple thing to do, but I was not able to find any documentation about it; 'Help' internal documentation is extremely limited. Is there another source of documentation that I don't know?

Thanks for your help,
Chris

Calculate the physical level itself at the logical level

I would be more careful with possible calculations on the physical columns since the results are different
But in this case, it seems a good approach,

-> chris3110.

If you want to try with physical columns, you can find detailed instructions in the tutorial (http://download.oracle.com/docs/cd/E10352_01/doc/bi.1013/e10312/repository.htm), Section 4.6.3 OBI 'Create a calculation measure using physical columns'

It will be useful,

Tags: Business Intelligence

Similar Questions

  • How to create a simple poll

    How to create a simple poll and view the number of clicks the radio button above?

    Customer says drupal PSI and it's easy, very difficult to find features here, any suggestions please

    British Colombia, you will need to create a web application and use the liquid and/or Javascript to perform a survey. Nothing out of the box I know.

  • How to create a specific calculation

    Hi all

    I would like to create a named calculation using the amount of sales as the measure and the geography dimension

    The geography hierarchy is:
    ALL THE
    -Region
    -Countries
    -Store

    And the calculation I want is:

    Sale of a country / SUM (sales region)

    using level based on the measures allows me to create


    Sales of store / SUM (sales of country)
    Sales of store / SUM (sales region)
    Sales of store / SUM (ALL sales)

    because sales are aggregated at the lowest level wich is "Store".

    Anyone know how I can create it in the repository?


    Concerning

    Hello

    I don't really see the problem, because the solution is quite simple:

    1. create a shaved base measure: sales by country
    2. create a shaved another basic measure: sales by region
    3. create a logical column with the calculation of sales by country / sales by region based on the logical columns 1 and 2.

    Kind regards
    Stijn

  • How to create a simple grid as a plan for a pane of glass?

    CS6.

    Sorry if this question sounds stupid, but I'm sure he's actually.

    I want to create a simple square grid that I can color and take my Glazier to quote.

    The overall size of the Group of experts will be 600mm width x 930 mm high. It's actually a wooden panel in an existing entry door.

    The grid lines (where the lead pipe will be) will be as follows:

    Horizontal:

    1 to the top 100mmm

    1 to 100mm from the bottom

    Portrait:

    1 to 100mm from the left

    1 to 100mm from the right

    That's all. Real simple. He should meet with the central panel being about 400mm of width 730 mm in height. This will probably end up as plain glass (white), but with a model obscuring any.

    Once I have the grid I can experiment with different colors for the other 8 squares.

    It would be better if the lead lines are fairly "BOLD", and I guess that a framework outside he went.

    I have really need color more than just basic in places, but if it is possible to apply a sort of brush or filter window, so that it looks more like real stained glass, it would look much better.

    Thanks for reading this :-)

    Fill in the boxes would depend on how they were made and whether they're on a transparent layer.

    Here is a video of the method I used. Let me know if it helps.

  • How to create a simple so that the else statement

    I tried for hours to find out how a simple calculation to display text in a field that is based on what is selected in another drop-down list.  My first time doing so, I'm not sure what I'm doing wrong.  Here's what I have so far:

    get the value of the field doctor

    var doctor = this.getField("Physician").value;

    Display according to chosen doctor number

    if(Physician=1) event.value = 100;

    ElseIf (physician = "2") event.value = 200;

    ElseIf (physician = '3') event.value = 300;

    else event.value = 0;

    You have made the classic mistake of using the wrong operator in if statements. The operator if in JS is 'is' (or ' = '). '=' is the assignment operator.

    In addition, in the first statement, you compare the values of a number and later on a string. You must be more coherent.

    Then use this code:

    // get the value of the Physician field
    var Physician = this.getField("Physician").valueAsString;
    
    // Display Number depending on Physician selected
    if (Physician=="1") event.value = 100;
    else if (Physician == "2") event.value = 200;
    else if (Physician == "3") event.value = 300;
    else event.value = 0;
    

    See your code, however, I don't think that you need an if at all... This code should do the same thing:

    event.value = Number(this.getField("Physician").valueAsString) * 100;
    
  • Basic Help with Flash v10 (creating a simple calculator)

    I have Adobe CS4 Pro with Flash v10.  I am trying to create a minimal and simple calculator that adds 2 numbers.  I followed the tutorial at http://layersmagazine.com/flash-design-calculator.html.  Initially, I was unable to name the variables to all objects, but got this cleared up by selecting ActionScript 2.0 (was set to 3.0).  At this point, the calculator accepts two numbers, but when I select the button 'Add' the associated code, as shown in the tutorial, nothing happens.  Does anyone have a suggestion as to what I might hurt?  Thank you.

    Remove all the variables in the textfield of the properties panel.  If you have also done the same for the total textfield instance name there, use:

    {We (Release)}

    total.set_Text = Number (firstnumber.text) + Number (secondnumber.text);

    }

  • How to create a simple link in a region?

    How can I create a simple link in a region?

    Thank you
    j

    John,

    Buttons may be a little easier if you do not know how to build a URL of Apex, but it's not really hard...

    Try something like this:

    <a href="f?p=&APP_ID.:2:&APP_SESSION.">Take me to page 2</a>
    

    The only thing you change is the reference to page 2.

    Kind regards
    Dan

    http://danielmcghan.us
    http://sourceforge.NET/projects/tapigen
    http://sourceforge.NET/projects/plrecur

    You can reward this answer by marking as being useful or correct ;-)

    Published by: Dan McGhan on June 18, 2009 10:06

  • How to create a simple program to "prize draw"?

    Hey, I would like to create a simple program to "prize draw".

    who selects at random a name (or number) from a list of names, I wish it were my own custom version. For a programmer, it's probably the easiest thing, but I'm new to programming (Beginner), eve of don't know if I'm in the right subcategory (flash). Is there a tutorial or something somewhere that you think could help me, please?

    Create the list in a table and use mathematical methods to randomly select one of the values in the table.

    var prizeArray = new Array ("name1", "name2");

    var drawnPrize = prizeArray [Math.floor (Math.random () * prizeArray.length)];

    trace (drawnPrize);

    If you are unsure if you should use Flash, then you probably don't want looking for help until find you what you plan to do with your custom design.

  • 9211 question; and also how to create a simple IP check?

    Hello

    First of all, with the 4 9211 module channels for thermocouple input, I assume that it's OK to connect different types of thermocouple to different channels at the same time? (for example channel 1 - T type, 2 - E-channel type etc). Also why is the sampling rate for that ' sample/s 14' - seems low - but I can apparently run at much higher rates and labview complain?

    Secondly, I would like to implement a simple temperature controller 14 channel FT. I had a quick glance at a few examples, but "PID Control-Multi Channel.vi" (for example) seems only a proportional controller, no full term. Maybe I should just write my own? Can someone point me in the right direction?

    Dave

    Hi Dave,.

    I hope you are well today!

    Yes, you can use different types of thermocouples connected to multichannel 9211 in one job. You can simply create a virtual task for a group of channels to the MAX to be aware of this. 9211 is measured from the channels one after the other by scanning through them (time division multiplexing), rather than take all measures at the same time. This is due to 9211 a single ADC, the cold junction compensation circuit and zero circuit automatic.

    Now, depending on whether you use CJC and/or the zero function automatic or not, the maximum sampling frequency varies slightly. A comparative table can be seen on page 20 in the datasheet of the 9211.

    I suggest the reason why 9211 does not support the higher sampling has been done its designed applications. 9211 is designed for the measurement of the overall temperature of the ground, and it is useless to the temperature of the sample from a point say 20,000 times per second, because in many scenarios the temperature does not change that quickly. Also, following the sampling frequency, noise immunity performance can be increased to the ADC.

    Say if I apply for temperature monitoring, I would normally update my temperature every second reading or every half a second and who should provide an accurate indication of my environment. However, if you are looking to make measurements in extreme environments, alternative DAQ devices/sensor should be considered.

    Hope this helps,

  • How to create a simple audio playlist when running?

    I know, this question seems simple. But I am new to AS3 and I have not found a satisfactory solution so far.

    That's what I'm trying to do: I create a game with spoken phrases. These phrases are loaded dynamically from a XML file that contains the paths to the mp3 files.

    This is what is happening currently: all phrases are spoken at the same time.

    I want that they be read one after the other - how I get this requirement?

    This is my code (Simplified) example:

    import com.hydrotik.queueloader.QueueLoader;

    import com.hydrotik.queueloader.QueueLoaderEvent;

    _oLoader.addEventListener (QueueLoaderEvent.ITEM_COMPLETE, onItemComplete, false, 0, true);

    _oLoader.addEventListener (QueueLoaderEvent.QUEUE_COMPLETE, onQueueComplete, false, 0, true);

    var currentSoundPlaying:Boolean = false;

    function duringGame() {}

    playSound ("question1.mp3");

    some time passes

    playSound ("answer1.mp3");

    playSound ("question2.mp3");

    }

    function playSound(sound:String):void {}

    _oLoader.AddItem (sound, null, {title: "MP3"});

    If (! currentSoundPlaying) {}

    _oLoader.Execute ();

    currentSoundPlaying = true;

    }

    }

    function onItemComplete(event:QueueLoaderEvent):void {}

    If (event.fileType == QueueLoader.FILE_MP3) {//throws an error that 'FILE_MP3' is unknown}

    soundChannel = event.content.play (0);

    //}

    }

    function onQueueComplete(event:QueueLoaderEvent):void {}

    currentSoundPlaying = false;

    }

    At the moment, "answer1.mp3" and "question2.mp3" are played at the same time. How can I change this? It should behave as a queue. Once again: I am completely new to ActionScript 3 and if there is a solution in addition to using this charger 'queue', I will be happy as well.

    Thanks in advance for comments, tips or links.

    Timo

    the sounchannel has a soundcomplete event which executes when a sound finishes the game.  use it to trigger your response.  When the answer full of game, launch your next question, if that's what you want.

  • How to create a simple task difference game

    Hello world. I am new to the Forum and relatively new to flash, so bear with me

    I'm looking to make a very simple point the difference using flash CS3 and actionscript game 2 for a school project.

    As it is, I have 2 images on separate layers on a timeline within the same framework, which has been suspended by using the command "stop". I'm looking to have about 4 differences which, when clicked, will appear at the bottom of the screen.

    The problem is, I am unable to find a way to get the differences recorded down in order the user is, where everyone is registered when the user clicks on it, leaving wide gaps for those who have not been found.

    As only a basic user, I am only with scenes and base calendar controls, and I hope that there is a relatively simple way to do this. However, I am perfectly comfortable with the more complex use of actionscript, after doing a few shows before.

    Thanks in advance,

    Laurence

    Create clips that contain the text or image or whatever you use to show differences.  put these movieclips on stage downstairs where you want them to appear.  assign an instance name to each, and then use actionscript to initialize each movieclip false _visible property.  When you want to display this movieclip (after selecting a user), assign this movieclip true _visible property.

  • How to create a simple Menu

    OK, here's my problem. There is a way in Director using a field cast member and create a structure to drop as the typical "File, Edit, life,... etc" that you see in any program. I know that the possibility exists for the Director, but for the life of me, I don't remember. I have used this before and have seen work. He was found in a book of Director - in note in chapter. A ToolTip type operation. The Director help file covers her, but I know its there.

    Does anyone know how this is done? If this isn't the case, I can possibly access to this book and discover. If we don't, I'll post the answer as soon as possible.

    Thanks for any help

    Check the documentation for 'installMenu.

  • How to build a simple calculator?

    I would build a calculator with the slide to control the operation (+ -* /).

    Maybe someone can help me?

    Thank you very much.

    I did also. If I'm not mistaken it is an activity from exercise of the book "LabVIEW for everyone..." ». I also did as mentioned for the slider part Altenbach. Fix is the vi. Try to make an assignment and activities by yourself it will help you a lot. Do not hesitate to ask, but I think that, first of all, you have to try something. That's what I've learned here in the forum of these people very very interesting, useful, and experts.

  • Need a simple example how to create a simple DataModel and add it to a ListView

    Hi, I have a problem with the dataModel and ListView.

    I want to have the following, a DataModel that contains just strings and a ListView to display.

    Also a button, whenever I click on it, he must add a string to the DataModel.

    How to do this only in QML?

    The projects are in the ScrollableLists project.

  • Create a simple questionnaire for Muse?

    I discovered how to create a simple quiz with Flash and import them in Muse. It works pretty well, although I need to repaint the scene (in the background) .swf when on my page of Muse.

    A radio button multiple choice quiz, a timer, a running and final total. Works fine in Flash, interactive format I know there will be limits.

    If I want to create an alternative provision for Tablet, I guess that the .swf will not play in iOS. I used the Toolbox CreateJS in Flash, but the result when published (in Flash) plays in the browser immediately from the first to the last image, even if there is a still picture 1. In addition, I don't know how to import this code in Muse. I tried to open the .js file in Dreamweaver and copy and paste the code in Muse, but just the text and has no functionality.

    I also reviewed Adobe Captivate as a way to create a simple e-Learning site.

    Any suggestions would be greatly appreciated.

    Thank you, Jerry

    Hi Jerry/Rob

    Yes, that's right, you can create a quiz using forms.

    I've explained here:

    http://forums.Adobe.com/message/6139644#6139644

    Let me know if you have any questions.

    Thank you

    Sanjit

Maybe you are looking for