Replace the existing values in the BSO

I use a rule of load to load the data from a SQL table. The SQL table has multiple records with the same combination of dimension.

For example, if I have:

Sheet 1: East soda sales 10
Sheet 2: East soda sales 10

When I use "replace existing values", and I question the intersection, I get 10. When I use Add to the existing values, assuming that it was nothing first, I get 20.

I know Aso, you can use the buffer load to records of amount with the same intersection in the cube before loading to the database. My question is, should I use a SQL sum in the State of charge (since I can't create a view that aggregates), or is there some other facility in environmental assessments which allows to replace what is in the cube, but not replacement when the intersection itself appears twice in the same load of data.

Thanks for your time.

Published by: user12268822 on November 29, 2012 12:28

If you want to replace what you have in the BSO cube with the sum of the values of the SQL, then you will need to use the money in your SQL query.

Tags: Business Intelligence

Similar Questions

  • ASO Essbase - loading data to overwrite the existing values

    I'm support ASO but does not know how he would "Overwrite the existing values" correctly.  I want it to work as BSO "crush."  Need help please, I am a newbie to ASO :(

    change the ASOAPP database. ASODB load_buffer to initialize with values of substitution of resource_usage 0.15 buffer_id 1 create slice;

    Thank you

    Which only Initializes the buffer, it does not load anything (as I imagine you know, KKT).  Just to be the opposite, I would say the MaxL may be harder but gives you a better idea on how loading to ASO that the use of the Regional service.

    To the OP, you are mixing two different command syntax.  'Substitution values' and 'create a group' syntax is part of the import , not the alter statement.

    Suggest you read this article of technical reference: loading data using pads

    Using tampons complicates slightly reproducing the behavior "crush."  You can choose multiple values loaded at the same intersection crash in the buffer zone, or in committing the buffer for the cube (or both).  BSO is not this distinction.  The substitution values clause controls what happens when the buffer is enabled for the cube, but by default multiple values at the same intersection in loading the buffer still the sum.  You can control what is happening to several values, hitting the same intersection in the buffer to aggregate_use_last / aggregate_sum buffer options in the alter statement.

  • Value of the element after replacing the automated process of line does not?

    Greetings!

    I have a standard process of line automated filling in the fields on my current form after the header. Certain values that I need to replace by calculations from the data in other tables. If right after the line, I inserted another process for this. The results are actually stored in the database, but does not reach the customer. Why? Somehow it seems, once the line is completed, the html elements are not affected more during the processing of the page.

    So I resolved to set certain values with a call ajax after the page is loaded, but which actually is not the best way to do this.

    In coordination with the question: what is the difference between the headings of before and after? I looked in the documentation, but wrong in details. Myself I havn't found no difference between the two.

    I hope you can help me get clarity on who and how to implement the calculation as well as the shape of line.

    Thanks a lot and best regards,

    Tobi

    Hi TobiP,

    If your item has as the Type of Source database column, and I think you do since your using an automatic process of line Fetch, in the properties of the element, you'll find a region called 'Source '. If the Source value or expression is not null and the Source is set to "Always replace the value that exists in the session state", then the value of the source will be taken from what you put as the source and ignore session state values defined by other processes. Assign to this "only when there is zero current value in session state" to use the session as a source value.

    Kind regards

    Joni

  • replace the text in the initial value of the attribute

    Hi Forum,

    How to replace the original value of an xml attribute in the world?  I have an indesign document that has the month name attribute and the value jan13issue01.

    See the example below of the existing xml attribute and value.

    month = jan13issue01

    I need to change the value to mar14issue01 above in the world (see below).

    month = mar14issue01.

    Thank you

    LUN

    Good, in condition add attribute name verification.

    If ((elm.xmlElements [i1].xmlAttributes.item (i2) .name == 'months') & (elm.xmlElements [i1].xmlAttributes.item (i2).value.match (RegExp('^jan13'))! = null)) {}

    Kind regards

    Bala

  • ODI can load data into the planning and REPLACE the existing data?

    Hello
    ODI (9.3.1.1) can load data into the planning and REPLACE the existing data?
    Currently of our ODI by "ADD" load to existing data data - so that is I accidentally run the load twice, it would be double planning numbers. I don't know how to do it to REPLACE so that running more than twice has no effect.

    With the help of the essbase adapter you would use a rule of load, in the State of charge, you can set whether to replace or add to existing values. It is not difficult to pass.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • This morning, I received an invitation to update, I 'agreed '. The upgrade has replaced the existing version of Firefox. How can I go back to the version I was using? Help!

    Upgrade to V8 replaced the existing version of Firefox. That's when I found that the V8 does not work with my OS

    Thank you Matt... If I had been able to quickly locate the table with earlier versions of Firefox, I would have been able to solve this problem as soon as possible.

    I'm still not that when asked if Firefox was running slow click on upgrade and when I did, went from 3.n.n in V8.

  • Write that VI PNG file will not replace the existing file

    Hi all

    I use VI file PNG write to store the graph in a png file. I am able to save the file with a specific file name, which includes the date, model number, serial number etc.. Once the chart is saved as a png file, if I make changes in the graph (as autoscale, turn captions etc.) and try again to save the file with the same file name, write PNG leader VI does not save the changes I made on the chart. I'm looking at the timestamp on the windows Explorer, but it is not updated. I opened the VI itself (which is write protected) to see if it generates an error if I provided the same file name, but it does not generate an error.

    I don't know if I am missing anything.

    Can you people please help me find a way to replace the existing PNG file?

    I'm using LabVIEW 2013 on Win 7 machine.

    p.s. I use the second method mentioned in this article:

    http://digital.NI.com/public.nsf/allkb/5AE4ADCBB65A6D8F86256FBF007A1AC1

    (Programmatically with the Get Image method).

    Thanks for your help

    OPR

    OPR wrote:
    ... Write VI PNG file does not save the changes I made on the chart. I'm looking at the timestamp on the windows Explorer, but it is not updated.

    You are also looking at the image itself? Explorer Windows cannot update the timestamp in the display immediately, or you might be looking at creation time, which doesn't seem to change when you replace a file.

    I can say that I saw a similar question very recently (he was also PNG, even if it's not really relevant), and here it certainly crushes - http://forums.ni.com/t5/LabVIEW/LAVA-snippet-overwrite-keeps-old-date-time-of-png-file/m-p/3257059#M...

  • Replace the text values

    Hello.

    I have problem with replacement of values in text strings and I can't find a solution.

    I have two or three channels filled with only 2 values: OK and NOK. How can I replace these values with for example 1 for OK and 0 for NOK?

    This replacement is necessary for drawing a chart. I can't draw the chart because the tiara do not accept the values of text like a ladder with the current values.

    Thanks in advance :-)

    Hello Domin,

    replaces a substring in a text with another text can be done with VBS 'Replace' function

    The execution of a function on an entire channel can be made using ChnCalculate.

    Combine the two and you get:

    ("ChnCalculate ("ch ()"" statistics text"" "") = Replace (ch ("' statistics text" "" '), '' value' ', "" LLL"") ")

    It is a channel in the DIAdem example data set. The above command executes the command "Replace" for each value of the text string "text of statistics". He replaces each occurrence of 'value' by 'LLL '.

    Hope this helps

    Andreas

  • How do you replace the values in a control of the ring?

    Hello

    I have a control of the ring (text values) in Labview 2009 and it is populated by programming with 20 points. The end user selects from the list items or fills with a new item based on a checkbox to add a new item. What I want to do, that's when section 20 is entered and the user selects the check box next to the point 21 to add I want around rap on the first item in the list and crush him. Is this possible and a sample VI would be great demonstrate how this is done. Any help would be greatly appreciated!

    Thanks in advance

    Charlie

    Replace the subset of the table.  You need to keep track of the element to replace in a shift register.  I would also like to keep the list in a shift register to make your life a little easier.

  • How to replace the value of a column in a table based on the value in the second column?

    Hi, I would like to find in a table 2D for values that meet certain criteria (for example, a column< 0.98).=""  based="" on="" which="" rows="" meet="" this="" criteria,="" i="" want="" to="" replace="" the="" values="" in="" a="" different="" column="" of="" the="" array="" (change="" to="" 'nan'="" so="" that="" the="" values="" will="" not="" be="" included="" in="" any="" calculations="" on="" that="" column,="" for="" example="" the="" finding="" the="" mean).=""  i've="" attached="" a="" sample="" .csv="" file.=""  if="" the="" values="" in="" column="" 3="" (index="" 2)="" are="" less="" than="" 0.980="" (or="" some="" other="" user="" defined="" value),="" then="" the="" value="" in="" column="" 2="" (index="" 1)="" should="" be="" replaced="" with="" nan.=""  can="" someone="" help="" out="" with="" this="" search="" and="" replace="">

    Thank you

    Keith

    (using LV 2009 SP1)

    A few quick hits.

    You can merge the two for loops

    You have not need one of the constants 1 and 2 in the index table.  They will solve automatically when you expand on the index picture, once you have wired to 0 in the column index.

    It seems a lot of handling additional table spent unnecessarily.

    See below.  I did not try to duplicate your code to see how it actually works, but I believe that I have attached will give the same result with less steps.

  • Formula of mounting: replace the names of parameters by actual values

    Hello

    After finding the values of the parameters in the formula of editing, I need to replace the names of parameters by actual values found by the algorithm of editing.

    For example in the screenshot below, I need to replace a, b, c by actual values (e.g. 2.346878,-12.4589 8.0012) in order to use this formula to solve a nonlinear equation.

    Transform the string to byte array formula seems to be quite dufficult because replacements have different sizes (e.g. an having to be replaced by 2.346878).

    Is there a smart solution to such a problem.

    Thank you

    Or better yet... the list of parameter names can also be extracted:

  • OfficeJet Pro 8600 more: Saving scan to file, always asking to replace the existing file.

    When I scan a document using the software on my computer, it asks to save it.  When I say yes, it saves it in a new folder I did. But he still wants to replace the existing analysis.  I want that each new scan to be named Scan0001, Scan0002 etc.  I want to keep a copy of all the scans I'm emailing them, or simply keep a copy on my computer.

    I think I just found my own solution.  He has the ability to "see him save as dialog".  I think that it should be disabled.

  • copy / paste does not replace the existing file

    Hello

    Sometimes, I copy a jpeg file and passed in a folder.  This file has the same file name.  but after having stuck to it, I noticed that there are 2 files with the same name.
    How can I get to replace this file?
    Thank you

    Hello

    Sometimes, I copy a jpeg file and passed in a folder.  This file has the same file name.  but after having stuck to it, I noticed that there are 2 files with the same name.
    How can I get to replace this file?
    Thank you

    If you paste a file into a folder that already has a file with the SAME file name, you will be informed and asked to choose one of the following:
    1. do not copy
    2. copy and replace those already on file
    3. copy and keep both.

    Perhaps, you have chosen the 3rd weight?

    modification of...

    It will not replace the existing file, unless both have EXACTLY the same file name.

  • How is it, replace the main Board marks invalid existing installation?

    How is it, replace the main Board marks invalid existing installation? I bought it and paid for it, it doesn't seem right that if I update my machine my operating system is no good!

    IF your computer comes with pre-installed windows it's called OEM and is related to the material.  If you change the mobo, it is indeed a new computer.

  • PLSQL do not replace the value of the variable

    Here is the small procedure that I write...

    m_t_database_links: this table contains the names of database links in the column link_name

    PLSQL not replaces the "BOLD" part with the value of the variable. I know I'm missing something. Can someone please?

    ========================================================================

    DECLARE
    m_v_var1 varchar2 (10);

    BEGIN
    FOR m_c_link_name IN (SELECT m_t_database_links FROM link_name)
    LOOP
    Select first_name into the emp @m_c_link_name.link_namem_v_var1;
    dbms_output.put_line (m_v_var1);

    END LOOP;
    END;
    /

    I think that you will need to use dynamic SQL here because you can use variables for table names unless it's the dynamic SQL code.

Maybe you are looking for