Dso updating item count to cube

Hello experts.
I am counting item in transformation from data source to DSO (key fields - order no and item no).
Result = 1`.
In DSO, count works fine.
Now, I am updating DSO to a summary cube.
What transformation routine I need to write, so that an item only count once and not aggregated when same item and order comes in multiple times.
Is this routine correct -
if source_fields-recordmode = 'R' or
  source_fields-recordmode = ' ' .
result = '-1'.
else.
result =1.
endif.

Ramesh,
No need to write any code while mapping from DSO to CUBE.
Just map, counter(one-to-one) from DSO to CUBE.
Change DTP settings to from change log. Change log takes care of new, changed or canceled records.
Hope it Helps
Srini

Similar Messages

  • Update items count in my Class

    Hello
    I need your help on the following issue.
    I have the following class  in my application
    All Countries (properties CountryId, CountryName, CountryCount)
    AllIndustries (properties IndustryId, IndustryName, IndustryCount)
    I am using: INotifyPropertyChanged for all class.
    On my interface, I have two TreeView with Checkbox
    treeview for Countries with 193 countries in total
    treeview for Industries with 96 industries in total
    <HierarchicalDataTemplate DataType="{x:Type localx:AllCountries}" >
    <Border BorderBrush="#FFb6b6b6" BorderThickness=" 0,0,0,0" Margin="0,0,0,0" x:Name="brd" >
    <Grid>
    <StackPanel Orientation="Horizontal" Margin="20,0,0,0" >
    <CheckBox x:Name="cbx" Content="{Binding CountryName}" Margin="5" Foreground="White" Click="cbx_singleCountry_Checked" >
    </CheckBox>
    <TextBlock Text="{Binding CountryCount}" FontSize="13" Padding="5,2,5,2" Foreground="white" HorizontalAlignment="Left" Background="{x:Null}" Width="204" />
    </StackPanel>
    </Grid>
    </Border>
    </HierarchicalDataTemplate>
    I also have a class AllPeople (properties PeopleID, PeopleName, People Group, People Country, PeopleIndustry)
    I display the data from the AllPeople class in a Datagrid
    Content of Datagrid varies depending on the choice of a ComboBox
    What I want to do:
    When the datagrid is filled, the properties "CountryCount" of the class AllCountries  and  "IndustryCount" of  AllIndustries
    Class  must be updated for each element of the treeview according to the matching result.
    What I have written as code.
    for (int c = 0; c < myAllCountries.Count; c++)
    MyFilter = new ObservableCollection<AllPeople>(myAllPeople.Where(r => r.PeopleCountry.Equals(myAllCountries[c].CountryName)));
    myAllCountries[c].CountryCount = MyFilter.Count;
    for (int c = 0; c < myAllIndusties.Count; c++)
    MyFilter = new ObservableCollection<AllPeople>(myAllPeople.Where(r => r.PeopleIndusty.Equals(myAllIndusties[c].IndustyName)));
    myAllIndusties[c].IndustyCount = MyFilter.Count;
    The code works, properties are updated, but I have a performance issue.
    It is SLOW.
    I display a loading Gif image and i use
    Dispatcher.BeginInvoke(new Action(() =>
    But the delay is still long and the interface freezes.
    How can I avoid this ? or do a something like
    public class AllCountries : INotifyPropertyChanged
    private ObservableCollection<AllPeople> m_Items;
    public ObservableCollection<AllPeople> Items
    get { return m_Items; }
    set
    if(m_Items != null)
    m_Items = value;
    OnPropertyChanged("Items");
    public int ProductCount
    // MyAdvancedSearch = new ObservableCollection<PublicCompaniesClass>(_mainWindow.myPbC.Where(r => r.Market.Equals(_mainWindow.myMarket[a].Market_Name) ));
    // _mainWindow.myMarket[a].Market_Count = MyAdvancedSearch.Count;
    private int _countryId,;
    public int CountryId
    get { return _countryId,; }
    set
    if (_countryId, != value)
    _countryId, = value;
    OnPropertyChanged("CountryId");
    private string _countryname;
    public string CountryName
    get { return _countryname; }
    set
    if (_countryname != value)
    _countryname = value;
    OnPropertyChanged("CountryName");
    private int _countrycount;
    public int CountryCount
    get
    return Items == null
    ? 0
    : Items.Where(r => r.PeopleCountry.Equals(CountryName)).Count();
    set
    if (_countrycount != value)
    _countrycount = value;
    OnPropertyChanged("CountryCount");
    public event PropertyChangedEventHandler PropertyChanged;
    protected void OnPropertyChanged(string p_strPropertyName)
    if (PropertyChanged != null)
    PropertyChanged(this, new PropertyChangedEventArgs(p_strPropertyName));
    So,  I will not have to use a For loop to update the properties CountryCount.
    Thanks in advance for any help

    Hi CPGtech,
    Thanks for your post.
    I was trying to make a sample according to your description, but I need to confirm something with you first.
    >>”Content of Datagrid varies depending on the choice of a ComboBox”
    Here what’s the itemsource of ComboBox?  Is it the AllPeople?
    >>” But the delay is still long and the interface freezes.”
    In my experience, it may due to the consuming operation in your code. I suggest that you could call these methods in “Dispatcher.BeginInvoke()” or you could also create a new thread  with the method.
    By the way, could you please post a code sample to show this issue?  Please use your OneDrive and share a link to here.
    Best Regards,
    Eoro

  • Update member  count error for essbase cube

    Whenever i import a cube from essabse into obiee. i get the following error when i click on "update member count" on any member in the Physical layer of the obiee administration.
    this problem comes even if i import a different cube, meaning this is not due to essbase error.
    [NQODBC][SQL_STATE:HY0000][nQSError: 10058] A general error has occurred.
    [nQSError:43093] An error occured while processing the EXECUTE PHYSICAL statement.
    Essbase Error: Unknown Member Measures.xxxyyyxxxCount used in query
    kindly help!!

    i am using version 11.1.1.3
    i have created an holap cube in Essbase integration services. i have created olap model using rdbms source in the EIS. however i am unable to access the rdbms level(hybrid analysis enabled) data of the essbase cube in obiee.

  • The workflow could not update the item, possibly because one or more columns for the item require a different type of information using Update Item action

       I got error  "The workflow could not update the item, possibly because one or more columns for the item require a different type of information "I  found out the cause is  Update Item action       
    I need to update item in another List call Customer Report ,the field call "Issues"  with data type  "Choice"   to yes
    then the error arise .   please help..

    Thanks for the quick response Nikhil.
    Our SPF 2010 server is relatively small to many setups I am sure. The list with the issue only has 4456 items and there are a few associated lists, eg lookups, Tasks, etc see below for count.
    Site Lists
    Engagements = 4456 (Errors on this list, primary list for activity)
    Tasks = 7711  (All workflow tasks from all site lists)
    Clients = 4396  (Lookup from Engagements, Tslips, etc)
    Workflow History = 584930 (I periodically run a cleanup on this and try to keep it under 400k)
    Tslips = 3522 (Engagements list can create items here, but overall not much interaction between lists)
    A few other lists that are used by workflows to lookup associations that are fairly static and under 50 items, eg "Parters Admin" used to lookup a partners executive admin to assign a task.
    Stunpals - Disclaimer: This posting is provided "AS IS" with no warranties.

  • Information about DSO: Order Items (0SD_O01)

    Hello Experts!
    I have a little question about DSO Order Items (0SD_O01)
    and Info cube  Service Level: Order Items (0SD_C12).
    The DSO is provided from 2LIS_11_VAITM (Customer order)  and 2LIS_11_V_SSL (Delivery).
    My question now, how will the delivery data and the customer order data joined?
    Maybe someone can explain me the data flow up to info cube 0SD_C12.
    Thanks for your help!
    Best regards
    Florian

    For Deliveries in DSO 0SD_O01 a lot of Objects are not filled (like Material Customer...), that is ok because in data source deliveries are not such detailed information as in customer orders.
    But if I have a look in the Cube 0SD_C12 I all Info Objects are filled.
    So my Question, will the data joined together in the basis of Document number?
    Maybe you can explain a little bit.
    Thank you for your help!
    Best regards
    Florian
    Edited by: Florian Trütschel on May 20, 2009 6:13 PM

  • ABC Analysis [Update Item Assignment Window]

    Hello Friends
    I am working on Inventory Cycle count in EBS R12. I am facing a problem.
    I create an ABC Analysis for ##FGI sub inventory in M1 Organization on Vision Instance. Then i checked 22 items in my
    On-Hand Availability Window. But when i checked Update Item Assignment window, it shows me 20 items. can you please tell me that
    where my rest of 2 items are missing ? What are the reason or what organization parameter or what item attribute missing ? Do i need to do any special setup for rest of those two items?
    Can you please please further told me that what is the back end process of Compiling ABC analysis ?
    Best Regards

    Hi,
    Did you tried to re-initialize your ABC ..
    I think it can be an issue that you might have defined 2 items later after defining all your ABC compile ,assignments etc.
    And since your ABC compile is working on previous item it might not pick these newly defined items.
    Thanks
    Rahul Tushir

  • Document Counter in cube

    Hi, Can someone please suggest me on the following issue:
    I am trying to add Document count keyfigure and also maintain its history in the Cube which is already there in the ODS.The ODS is feeding the Cube and I want report on the Cube and not on the ods.
    Note: The cube already contains the Document Item Counter.
    Also, is there any way that I can derive Document Count from the Document Item Counter KF using Replacement path variable.
    Thanks,
    sruthi

    Hi,
    Just create one Line Item Dimension in infoCube for Document Number, in BEx Designer create one Formula Variable using Replacement Path.
    Create a formula variable of type Replacement Path, assign the Reference Characteristic to that here I think Document Number, in second Tab Replacement Path Define Replace Var. with -> InfoObject, Replace with -> Attrib. value, Attribute -> Char. Ref.
    After Creating Formula Variable create Calculated Key Figure using this formula variable in Aggregation define Calculation after Aggregation.
    Regards,
    Rajdeep.

  • Solution for invalid directory item count, startup disk corruption and regular crashes

    Hi,
    My late 2006 MacBook (10.6.8) has recently started crashing quite frequently. The screen becomes dark and a multi-language dialogue appears stating that the computer must be restarted with the power button. When this occurs any audio which was playing begins to repeat/skip and the computer goes into complete lockdown. This is now happening perhaps twice a day or more under moderate use.
    This morning I ran 'Verify Disk' in Disk Utility and the process was stopped, stating that I had two 'Invalid directory item counts' and 'the volume Macintosh
    HD was found to be corrupt'. Here is a screenshot of the Disk Utility window:
    I have rebooted, run a software update and rerun the disk verification but to no avail. I also booted using CMD-S, advised by an older post in another forum which suggested using 'fsck -yf' which ran and stated that the disk had been repaired.
    I bought the MacBook second hand from an Apple dealer but it didn't come with an install disc so I am unable to reboot and repair the disk like that.
    My questions, therefore, are what does this mean for my computer in the future, will either of these issues cause me more trouble?
    What can I do about it without the install disc
    And are these issues directly related to the crashes? (I have been running the computer connected to an external drive and monitor - for watching movies)
    Thanks in advance for any help you can offer!
    Twitch

    Not much you can do without an install disc which can be purchased from Apple Store >  Mac OS X 10.6 Snow Leopard - Apple Store (U.S.)
    multi-language dialogue appears
    That is referred to as a kernel panic. OS X: About kernel panics
    Regardless of the kernel panics, you will still need the install disc to repair and reinstall OS X if necessary.
    And are these issues directly related to the crashes? (I have been running the computer connected to an external drive and monitor - for watching movies)
    Could be part of the problem.

  • Invalid directory item count

    Hi all
    I have a 2008 model iMac running Snow Leopard 10.6.4.
    After installing the most recent security update this weekend, the machine rebooted and hung on start up (it was stuck on the circular activity indicator / gray screen for well over an hour). In the end I killed the power and restarted. The machine came up straight away.
    I verified the disk using Disk Utility and it reported errors. So I rebooted into single user and ran fsck -fy, which fixed a whole bunch of stuff. Booted the machine and ran Disk Utility again, and it still reported errors!
    Back into single user and fsck -fy the disk until it reports no changes twice in a row. Start the machine and run Disk Utility and again it reports a problem!
    So now I am stuck in a loop:
    - Boot in single user
    - Run fsck -fy
    - fsck reports that 'Invalid directory item count' error and corrects it
    - Boot the machine
    - Run Disk Utility, the 'Invalid directory item count' has returned
    - Back to single user and it starts again
    Can anyone advise on this? Do I need to worry about that message? It's the same error every time - and every time I fix it in single user and it's back by the time the machine boots. Do I just need to go out and buy DiskWarrior? I'd rather not - on the surface there's nothing wrong with the machine and I never would've known if I hadn't run Disk Utility after that hang.
    Thanks in advance for any help

    Thank you for the reply.
    SMART validates as 'OK'.
    I will try the hardware test. The OEM hard disk that came with this machine failed last year and the hardware test identified that before it finally died. However that had a lot of problems leading up to it - the machine would hang and was often very slow - checking Console showed a lot of I/O errors. Fortunately nothing like that is happening this time.
    Hopefully this disk is OK. Thanks again.

  • View Data & Updating row count

    Hi,
    iam using OBIEE 11g, when iam importing data from sysbase into physical layer then in the physical layer i cant able to view data and update row count also.
    For sysbase which dataconnection we have to use i.e (ODBC 3.5, OCI 10g/11g).
    for ODBC 3.5 connection is established but we cant get data i.e (view data in Physical layer ), for OCI 11g we cant establish a connection.
    Thanks in advance.
    prakash

    Hi,
    *• Relational Database System* including Oracle Database, Oracle Exadata Database Machine, Oracle TimesTen In Memory Database, DB2, Microsoft SQL Server, Teradata, Netezza, Informix, Sybase and other ODBC compliant data sources
    *• OLAP Sources* including Oracle Essbase, Hyperion Financial Management, Oracle Database OLAP Services, Oracle RPAS, Microsoft Analysis Services Cubes, and SAP BW Infocubes.
    *• XML Data Sources* including access to other types of data servers (e.g., other non-relational servers), Microsoft Excel spreadsheets, and Web Services.
    So, we should use ODBC 3.5 as Call Interface for Sybase.
    Thanks,
    Balaa...

  • After using "consolidate library" to move my media to a NAS the items counts do not match.  How do I find what is different the easiest way??

    I wanted to move my itunes media on my imac to a NAS drive.  I used the advance preferences to change the folder to the folder on the NAS.  I then went to the "organize library" setting to consolidate.
    When I compare the two folders, the music folders are different (807 items in the old to 798 items in the new), mobile applications are different (143 in the old to 153 in the new), Movies are different (321 items in the old, 324 in the new).
    I think I already had the entire folder organized the way itunes wanted it.  I'm not sure why the count would increase or to easily make sure I'm not missing any info.
    Any suggestions?
    Thanks.

    Actually, a little off on the situation as I originally described.
    Compared the old items counts to the new item counts:
    1. The music folder increased in item counts.
    2.  Books is identical.
    3.  Mobile apps decreased by 10 on the new.
    4.  Movies decreased by 3.

  • There was an error while updating row count for "SH".."SH".CHANNELS

    Hi All,
    Am new to OBIEE.Pls help in this regard.
    Am building the physical layer as per Repository guide.When am importing the data in to this,am getting the below error.
    *"There was an error while updating row count for "SH".."SH".CHANNELS" :"*
    channles is the table name and having 5 rows.
    but am able to see the data in the sql prompt. like SELECT * FROM SH.CHANNELS then 5 rows data would be displaying..
    pls help in this regard and where is the excat problem?
    Thanks,

    what is the error?
    Make sure that your connection pool settings are okay..
    Make sure that, you are using correct driver in case of if you are using ODBC dsn..
    Also make sure that, your oracle server is running... TNS and Oracle server services

  • Not able to create sub folder using SharePoint web service in large SharePoint document library (Item count view threshold limit)

    We are trying to create folder & subfolder in a SharePoint document library using SharePoint default(dws) web service. Document library has unique permission as well as item level permission. It was working as expected. Once item count crosses
    view threshold limit ( 5000) , create folder web method completes with an error and it creates a folder in SharePoint.
    Request:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dws="http://schemas.microsoft.com/sharepoint/soap/dws/">
       <soapenv:Header/>
       <soapenv:Body>
          <dws:CreateFolder>
             <!--Optional:-->
             <dws:url>Shared Documents/VenTest02092015v1</dws:url>
          </dws:CreateFolder>
       </soapenv:Body>
    </soapenv:Envelope>
     Response:
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       <soap:Body>
          <CreateFolderResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/dws/">
             <CreateFolderResult>&lt;Error ID="2">Failed&lt;/Error></CreateFolderResult>
          </CreateFolderResponse>
       </soap:Body>
    </soap:Envelope>
     While trying to create subfolder under the above created folder service throws an exception saying
    FolderNotFound.
    Though we are able to create subfolder from SharePoint UI successfully. 
    Request
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dws="http://schemas.microsoft.com/sharepoint/soap/dws/">
       <soapenv:Header/>
       <soapenv:Body>
          <dws:CreateFolder>
             <!--Optional:-->
             <dws:url>Shared Documents/VenTest02092015v1/REQ-1</dws:url>
          </dws:CreateFolder>
       </soapenv:Body>
    </soapenv:Envelope>
    Response:
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       <soap:Body>
          <CreateFolderResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/dws/">
             <CreateFolderResult>&lt;Error ID="10">FolderNotFound&lt;/Error></CreateFolderResult>
          </CreateFolderResponse>
       </soap:Body>
    </soap:Envelope>

    Yes, you're probably hitting the 5000 list item threshold (
    http://sharepoint.stackexchange.com/questions/105937/overcoming-5000-file-document-library-limits ). I assume you can do it via the UI because you're probably logged in as an admin in which case, out of memory, the threshold is 20.000 items. You can extend
    this limit, but you probably shouldn't.
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • Obiee oracle gateway error while updating row count

    Hi ,
    OBIEE server 11.1.1.5 ,oracle server11g installed in linux 64bit,
    while updating row count in Admin tool i am getting the following error
    [NQODBC][SQL_STATE:HY000][nQSError:10058] A general error has occured.
    [nQSError: 43113]Message returned from OBIS.
    [nQSError:43093]An error occured while processing the EXECUTE PHYSICAL statement.
    [nQSError:17003]Oracle gateway error: OCIEnvNIsCreate or OCIEnvInit failed to initialize environment.Please check your Oracle Client installation and make sure the correct version of OCI libraries are in the library path.
    i am able to check the database from sqlplus it is working fine.
    Any suggestion highly appreciated plzzz

    Make sure your connection pool is valid and able to import or execute reports.
    If everything good as above said, in Physical layer database properties-> general tab choose the database version and try it once.
    If not
    Check the doc id 1271486.1
    Or
    To resolve the issue create a softlink (ln -s) in the <OracleBI>/server/Bin folder to link to the 32-bit Oracle Client Driver file.
    The example below shows how to perform a softlink from the 64 bit directory:
    cd /u10/app/orcladmin/oracle/OracleBI/server/Bin
    ln -s $ORACLE_HOME/lib32/libclntsh.so.10.1 libclntsh.so.10.1
    If helps mark

  • Not able to update row count in Physical Layer..connection failed in OBIEE 11g

    Hi Guys,
    I am not able to do Update Row count in the Physical Layer, i am getting an error The Connection has failed. This is in OBIEE 11g Linux env.
    I have put the tnsnames.ora file in the below path:
    /*****/pkgs/linux/intel/OBIEE_DIT/MW_HOME/Oracle_BI1/network/admin/
    I do not have admin under
    /****/pkgs/linux/intel/OBIEE_DIT/MW_HOME/oracle_common/network/
    But if i put the whole TNS entry in the Data Source Name i am able to connect:
    (DESCRIPTION =(ADDRESS = (PROTOCOL= TCP) (HOST= xxx.xxx.com) (PORT= 1671))(CONNECT_DATA = (SERVICE_NAME = US1OBIEE)))
    I am not able to understand the issue..
    Thanks,
    Amit

    Looks like rpd is looking for local tns config... try to use as hostname:port/ServiceName
    This should work, just in case not working! stop doing so since it is know issue.
    If helps mark

Maybe you are looking for

  • TS1292 My pin number had been already use? I bought a $10 card and it appears that has been used. How can i solve this?

    Hi!! My pin number had been already use? I bought a $10 pin number and it appears that has been used. How can i solve this? I already speak with a representative of the provider company and they told me to contact Itunes or apple to solve this. Help

  • Communication channels path For testing ?

    For testing communication channels one path is there what is that path ? There all adapters are there based on our adapter type we can click that adaper and check weather our communication channel is correct or not? i need that path.

  • Outlook not responding opening a PDF

    We've had this issue with Adobe Reader XI, and Outlook 2010. What happens is when a PDF attachment is opened inm Outlook, Outlook will freeze and crash. If the user right click the PDF attachment in Outlook and chooses either option of "Preview" or "

  • Re: MBean calling ejb class loading issue

    Must think before typing.. If I have the ejb register a listener on the mbean and have the mbean emit an event the detyped notification from the mbean will break the link between the mbean class loader and the ejb loader. I think ;-) Ill try it. Pete

  • Mail - Mail Activity Counts Upwards But No New Emails Arrive

    This is really annoying me... Since Leopard, Mail keeps going to one of my email addresses and continues to count upwards saying 'Incoming Messages' above the progression bar. I have to sometimes leave it on overnight for it to resolve. During the da