latest state of the customer

Hello

I would like to know the best practices for the following implementation of OBIEE.

I have the DIM_TIME of time dimension, a customer dimension DIM_CLIENT and a table of facts FACT_POINTS

Points of fact is a fact table on the points collected by the customer and segment status

FACT_POINTS
CLIENT_ID, DATE, SEGMENT, AMOUNT_POINTS
127, 01/01/2010, MONEY, 1561
127, 01/04/2010, MONEY, 2561
127, 03/10/2010, GOLD, 5561
417, 10-03-2010, SILVER, 123

What I need to have is a report that tells me each month how much money (single), the customers gold customers. So I need to have the latest status of segment for each customer per month.
any suggestions?

Frank

Frank try following way,
with this get you all the latest information and then no separate account or what ever you need.
CLIENT_ID, CASE WHAT DATE = MAX (DATE by Client_id) THEN the END DATE, SEGMENT, AMOUNT_POINTS
127, 03/10/2010, GOLD, 5561
417, 10-03-2010, SILVER, 123

If you need per month
CLIENT_ID, CASE WHAT DATE = * MAX (DATE by Client_id, months) * THEN END, SEGMENT, MONTH DATE, AMOUNT_POINTS
127, 01/04/2010, JAN, MONEY, 2561
127, 03/10/2010, MARCH, OR, 5561
417, 10-03-2010, MARCH, SILVER, 123

on the column date of your expression will look like CASE WHEN DATE = * MAX (DATE by Client_id, months) * THEN END DATE with this expression, you receive all your required lines can do your expressions (count or sum) etc.

Hope this helped you

Thanks, Srinivas

Tags: Business Intelligence

Similar Questions

  • Latest version of the driver AT/GPIB/TNT built with VAT Statement - 32.h?

    Context: AT-GPIB/TNT card linking 488.2 driver see 1.70 in Win98 TransEra HTBasic 8.3, driver GPIBNI. A device on the bus requires that interrupts is disabled. This allows this device works properly, but other devices hang. For NI Spy restores proper operation, which seems to indicate a timing problem. Technical support TransEra agrees with this assessment. Earlier versions of their software (non-Windows) error-free work. So the problem is their driver interfacing to the pilot of 1.70.

    8.3 is not the current version, they are not too motivated to fix it. However, they did look at history and found this:

    "One of our engineers did some research and I could at least limit change that probably caused the problem. Apparently, our driver GPIBNI was built using the VAT Statement - research online and 32.h include file, this file has been replaced by OR with NI488.h. He was not able to know exactly which version of the software OR it was replaced, but NEITHER are likely to help with this, or you can try just a couple of their older versions. »

    So the question is, what is the latest version of the driver OR card AT-GPIB/TNT for Windows 98 built using the VAT Statement - 32.h include file? And where can I get a copy of it? TransEra suggesting that as the solution.

    Thanks for your help.


  • State of the coast customer Pass to the modal dialog box

    Hi guys,.

    I would like to open a modal dialog box and change the value of a select list of the modal dialog box. I have to be able to switch the status of the customer value using apex.item("P1_DEPTNO").getValue (). The declarative method to use modal dialog boxes is to use a button and a link to the page, where everything is taken care for us, the value, the checksum for the protection of session state, etc..

    But sometimes we need to go on the side of current customer State the modal page, for example, while we are in the middle of creating a new row in a table... and the value is not yet stored in the database.

    So, how can we do this? By the way the page in progress and also variables to generate the control are appropriate for the items to be passed.

    Since there is no dynamic action to do this directly, I tried to attach a dynamic action to a button and run javascript to open the dialog box (https://docs.oracle.com/cd/E59726_01/doc.50/e39149/javascript_api.htm#AEAPI29504):

    var l_url="f?p="+$v("pFlowId")+":2:"+$v("pInstance")+"::::P2_DEPTNO:"+apex.item("P1_DEPTNO").getValue();
    alert (l_url);
    
    
    apex.navigation.dialog(l_url, {
        title:'About',
        height:'480',
        width:'800',
        maxWidth:'1200',
        modal:true,
        resizable:false },
        '',
        $('#EMP_REPORT'));
      
    
    
    

    Unfortunately, I get an error internal an error:

    2 request 157 dialog page cannot be returned successfully. If make sure that the template in use on page 2 is the type of model 'Page of dialogue', with the JavaScript dialog initialization appropriate, closing the dialog and dialog box cancel the code defined.

    I do not understand the error message since I use the theme 42 and the handling of the ordinary modal dialog box works.

    Would appreciate advice.

    See you soon,.

    ~ Dietmar.

    Hi Dietmar,

    you're always coming to these requirements of fancy...

    The following has worked for me in Chrome. But to test if it works in any browser.

    1. Describe your button as usual with a link to the page of the dialog box
    2. For example to set items , specify P7_CUSTOMER_ID as the name and ~ CUSTOMER_ID ~ as value. ~ CUSTOMER_ID ~ is our placeholder that will NOT get replaced by APEX. We use it in our JavaScript code.
    3. Set the static ID of your my_button button so that we are able to access in JavaScript
    4. In the run when the Page loads page level attribute, add something like
      var myButton$ = $( "#my_button" );
      myButton$.attr( "onclick", myButton$.attr( "onclick" ).replace( "~CUSTOMER_ID~", "' + $v( 'P2_CUSTOMER_ID' ) + '" ));
      

    The JS code above will replace your reserved space and turn the link into something like

    javascript:apex.navigation.dialog('f?p=73380:7:109940056598048::NO:RP:P7_CUSTOMER_ID:' + $v( 'P2_CUSTOMER_ID' ) + '\u0026p_dialog_cs=QxixrjW-ZGmCMXTNBPlITtOG_X3aShXqYmmaugetfJ8rYKRHHpJpeskKbIEO3qpqVIkX-dWYaqbZ0_AGq3ASTg',{title:'Sample Database Application - Customer Details',height:'480',width:'660',maxWidth:'1000',modal:true,dialog:null},'t-Dialog--wizard',$('#my_button'));
    

    Obviously, you will not be able to use the Protection of the Session State for the P7_CUSTOMER_ID dialog page item, so you set the page of dialogue level attribute Access Protection Page to the Unrestricted.

    The amount of control that see you in the URL is really just to protect the dialog box itself.

    Concerning

    Patrick

  • The customer States AR indicate Page numbers Reset based on the number of customer

    Hello

    In the customer statements AR report, if I ran the report for several clients, page number must be reset for each customer...


    Group on the way as below,


    <? for-each-group: G_STATEMENT; STATEMENT_DATE? > <? for-each - group:current-group(); SEND_TO_ADDRESS_ID? >




    Hi Valerie,.

    I got the answer by using the @section command.

    Here's the complete syntax in my case.

    Xml tag - field form

    If the found data.

    Group G_SETUP-

    Group G_STATEMENT-

    Its work for me.

    Let me know if you need more information.

    Kind regards

    National Stadium

  • Changing the State of the application from a custom component

    Hello, I have several custom components that are included in the original application.

    When I try to change the State of a custom component, I get an error saying "undefined state: name of the State." How can I change the State of the application from a custom component? All States are defined in the original application.

    @linrsvp,.

    If you are using Flex3 try Application.application.currentState = "somestate;

    If you use Flex4 try FlexGlobas.topLevelApplication.currentState = "somestate;

    Don't forget to import the namespaces corresponding to the above.

    Thank you

    Jean Claude

  • Replace step Fail State causes the sequence fail LW/CVI custom Code generator

    Hello

    I have a Code CVI generator as part of the Toolbox ATML importer.  OR kindly gave me an example of how to change the Type of step as part of the custom Code Generator DLL and that works very well.

    However, if I try to change the step Fail value causes the sequence fail to VTRUE it seems do not set the value when the sequence is examined on a test bench.

    The code I use is:

    TS_StepChangeStepType (stepHandle, & errorInfo, typeDefinition);

    -where typeDefinition can be modified to change the type of step, it works and I can change the type of step if necessary.

    TS_StepSetStepFailCausesSequenceFail (stepHandle, & errorInfo, VTRUE);

    -who does not, the box is always set to VFALSE.

    Is there something that I am missing?

    Thank you very much

    Steve

    Steve-

    You must use the PropertyObject step to change the failure step Option. There should be a line of code the generator of custom Code that calls:

    Get the step as a PropertyObject in case it is necessary to change the properties of the General step
    tsErrChk (TS_StepAsPropertyObject (stepHandle, & errorInfo & stepObject));

    The stepObject is what you need to pass to the TS_StepSetStepFailCausesSequenceFail function as follows:

    Set the Option of failure of step-by-step

    tsErrChk (TS_StepSetStepFailCausesSequenceFail (stepObject & errorInfo, VTRUE));

    Please let us know if this happens to you to correct results.

    -Jeff

  • Paper size error: the custom paper size specified is not supported in the selected state bar

    I am trying to print on custom size paper (9.25 "x 3,875").

    I have OSX Lion and a 8600 Officepro more.

    I inserted the paper into the tray of my 8600 Officepro more.  I adjusted the sliding walls to match the size of the paper.

    I created a new custom in my print settings format.

    But the printer says:

    Paper size error: the custom paper size specified is not supported in the selected tray.

    What the...?  How that recalcitrant monstrosity to behave and do what I have to say?

    Here is the link to the manuals for the 8600 Pro JO.

    You want the user's guide.

  • Remote mobile dv5-2070US laptop computer States included, but does not work on the custom template

    Someone of you have a problem with the mobile remote on the DV5-2070us, I just bought a custom model and the remote control does not work.  I had to call HP to get the remote control has sent to me, he was not in the box, as indicated on the site.  My guess is that the custom templates do not work with the remote control.

    Called HP customer service, they have me advised that this version if the model basic or custom, won't work as my other laptop DV4 series.  This remote will work only while watching a DVD or internet TV.

  • State of the host material do not display data

    Hi all

    We performed a clean installation of ESX 6 on an IBM X 3690 X 5 7148 which has the latest firmware updates.  Host State sensors display all the information.  The CIM service is running, and I can't find the custom drivers or vib files to apply to the host.

    Any suggestions?

    Thank you

    Hello

    To work around this problem, assign groups and accounts administrative user to the global permissions in the Web Client vSphere. To assign these permissions:

    1. Log the vSphere Web Client with the [email protected] or an account with SINGLE sign-on administrator privileges.
    2. Navigate to Administration > global permissions.
    3. Click on the Manage tab.
    4. Click on the + icon to open the root of global permissions .
    5. Click on Add.
    6. From the drop of the domain , select your domain name respective who holds the user or the group.
    7. After you locate the Group and press Add, click OK. Make sure that the user account is assigned the administrator role
    8. Click OK.

    Link KB

    http://KB.VMware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalID=2112847

    Please see the steps above and follow with your comments.

    Thank you

  • How to add the custom search engine?

    Hello
    Firefox is a great browser especially for those who care about freedom and privacy. I would like to know why it is not possible to specify the custom search engine that you were able to do in the latest version of Firefox. I want to use the search engine google with https://search.disconnect.me/ which offers the possibility of anonymous research. I know that there is a plugin https://disconnect.me/search, but is not very comfortable with respect to the standard search bar. Thank you

    I read the solution proposed here https://support.mozilla.org/en-US/kb/use-search-bar-firefox-and-manage-search-engines#w_add-a-search-engine but in 36 of Firefox does not work

    TypeError message probably explains why you could not add the page of Mycroft search engine initially.

    When I search this exact error in Google, only that rolled up from July 2013:

    As long as the 'Integration of office of Unity 2.4.6' plugin is enabled I couldn't add to Firefox search engines.
    https://bugs.Launchpad.NET/Ubuntu/+source/unity-Firefox-extension/+bug/1202383

    Note: this option is not a Plugin, this is an Extension and available on the page Add-ons with other extensions.

  • How can I fix Firefox 18 and 19 to take too long to close when the custom settings for history is used?

    Hello, please read entire post before responding, thanks!

    I had 12. Firefox (FF) something and he used with happiness when I was getting a new hard drive and start over, I decided to upgrade to the latest FF of the moment, 18.something...

    After going through the implementation of all the different Add - ons etc... and reset the options/preferences (not cool how you reset all those whenever it updates!) The opening time and closing went from 2 to 4 seconds each to 78 seconds to open and 48 seconds to close. In the last two days, I tried (except reset) and read all the suggestions on here does not.

    So I read up on how to uninstall completely any trace of Firefox so I could do a clean install, which did not work, either: the freshly reinstalled 18 FF. ? program still opened and closed at the same time, and had all my info despite my deleting files/sub-sub-sub-records said to hold this info. I disabled everything in FF, still no improvement, so still once I tried to find info on how to completely remove the FF and still nothing it is right for current programs.

    Today I looked again for the info on how to remove completely the FF, found something new to me and tried this, including the complete registry search and remove anything with the name of firefox, then reinstalled FF 18. ?
    Yet all my favorites and info was there, and when I raised my help he auto-mis updated to 19.0 without my permission, even when I don't like other decisions for me for "my good"(d'où le nom d'écran) not OK! ".

    So I tried the reset function to 19.0 FF and it's just that and the opening and closing time lag had gone, back to 2-4 seconds each, which seemed great!, but no.

    When I went back to set up my options and restarted, FF went back to the lag, so I eventually removed/reset everything and all was well again, so I started putting/setting things back one at a time, that's when I found and verified the problem, the history settings!!!
    

    I repeated this 6 times with the same results:
    The value of history to remember, and everything works well, story custom game lag returns without fail.

    My settings in Custom were:

    Accept and remember everything until I close FF
    Clear history the closure of FF.

    In the "Settings" submenu under the closure of FF clear history:
    All 6 boxes are checked for history and no boxes have been checked for data (all default values)

    I watched the process running in the task manager during startup and shutdown FF with these settings, I found that it was not only FF.exe works but also a plugin - container.exe, both eventually stop after about 48 seconds, the plugin container does not appear to run when the story is set on do not forget all the... (I have an incomplete memory on the container of plugin causing problems of this kind in the past, but I can't remember what or exactly when so much...)

    I also tried to leave the setting of history to remember them all and him restarted and tried to erase everything in the menu Tools and FF unresponsive for about 60 seconds and then seemed fine afterwards.

    So, I conclude that there is a problem in the newer versions with the history of compensation in the background while the browser continues to operate, and the likely culprit is the plugin container(again?)...

    So now to the questions...

    Is it possible to set to Custom history and 19.0 FF remain operational during this process and for FF close in a few seconds, as in FF 12. something with the same parameters of the story?
    If yes how can I configure that?

    If no, what is the last version that will work properly with history to remember until FF is closed and then wipe front of re-opening, without waiting for more than a few seconds for everything to happen as it was in my FF12. ? Version?

    Also, How do I remove ALL TRACES of Firefox 18.? and up so that I can do a clean install if I need to, as I said everything that is here or linked to from here up to today, 2/21/2013, was not sufficient.
    

    Thanks for your time...

    (See attached image) That's what worked for me to 19.0 Firefox, and I was able to verify that cookies have been deleted before restart, thanks again for your timely assistance.

  • PC Health Monitor - assessment of the State of the battery on the L50T Satellite-

    Last week, I bought a brand new L50t-A-145 8.1 Windows running. Beautiful machine and apparently everything works perfectly.

    However when activating the PC Health Monitor, he recorded the drums as being in a State of 'fair'... which means that there ' a loss of capacity, but it will meet the needs of most users. For a new machine, it is simply not good enough... I have a P845t that is over a year who never recorded the State of the battery as in anything other than "good" condition.

    I did a number of things (which, I hasten to add, I never had to worry about the P845t or also any other Toshiba laptop)... (1) I charged the battery completely and let run for sub 10% at least 6 or 7 times; (2) I uninstalled PC Health Monitor and downloaded the latest version on the Toshiba site and reinstalled (3) I completely reset the computer. All to... nothing is done, the battery status still shows as that 'fair '.

    The reason for which I got a number of options, is that it seems to me there is nothing wrong with the battery... it does not seem to take longer than usual to load and I appear to get the proper use of the machine as she throws... my little finger tells me that there is nothing wrong with the battery.

    However, in contrast to previous cell phones, this one comes with the sealed battery (one wonders who the nutter who thought about this or has it been done to overcome the concerns of airport security and other?). Therefore, if it turns out that something is wrong with the battery, it would mean the withdrawal of the front rear and associates of concerns. Or is it strange reading symptomatic of another potential problem with the computer?

    So I am sending you the machine backwards, but requested, before, if anyone out there can think of something else I can do to check the situation?

    Please keep in mind, I'm not particularly bright when it comes to computers, so any advice must be specified for a layman to understand!

    Thank you very much.

    Lindsay

    Thanks for the comments. I don't know what went wrong, but the essential is that everything is OK again.

    Discount to zero has been the good method to check the hardware and software features.

  • How to install the latest version of the BIOS Tecra m2

    How to install the latest BIOS P000Bv160 on a M2. install toshiba BIOS instructions say to use a floppy disk, but the file size is 1.48 MB so not fit on a 1.44 MB diskette. can I use a USB?

    Are you sure that you have read the statement on the right?

    AFAIK it's win-BIOS version (windows version) and not a version TRAD (traditional), so the update of the BIOS must be running OS.

    There should be an exe file that must be executed to start the update of the BIOS!

    Please check the instruction again!

  • State of the hard drive, the 'Frozen' value in the bios, no registered password?

    My ACER Aspire 5733 shows the HARD drive as 'Frozen' in the bios and, of course, does not start to her.

    There is no administrator password or user saved, but it shows the HARD drive as "Frozen" in the security of the bios screen.

    If I take the drive hard on and restart, it is not, as planned, when I put it in, reboot, go directly to the bios, it now shows the status of the HDD as "Clear" as the other password two States. BUT if I then reboot, instead of from Windows, it shows no bootable devices. Then when I check again the bios, the State of the hard drive is back in '' Frozen '' and two other passwords are always 'Clear' as before.

    Does anyone know how to fix this?

    I tried a few reboots, and even with another hard drive installed, he always does this.

    I have corrected it.

    He kept returning to the State of 'Frozen' on the hard drive even after the recommended Acer fix found here:http://acer.custhelp.com/app/answers/detail/a_id/32674/~/bios-password-frozen#_ga=1.262809484.160920...

    After trying the procedure, he always returned to '' Frozen '' on the first restart during the installation of Windows.

    So what I did that.

    When I came back to the State where all three passwords security read "Claire", for the very next reboot, I updated the bios to the latest version. I used the pure BACK method.

    After stopping when the bios update has been done, the 'Clair' State was still intact. I * think * rest of the State of "Clear", as long that you go directly into the bios after that, and the problem was that it was not saved when you plan does not directly in the bios. On the next reboot after update bios, I started to install windows and THIS time after update BIOS, the first reboot during windows installation has NOT led to a State "Frozen" hard drive.

    So I think there may be a bug in the bios of last second for this camera, because it doesn't seem to be able to actually save the State of the hard drive correctly password.

  • Database of Windows Media Player lost the custom entries

    I keep my music on an external drive.  I decided it would be wiser for the word 'Music' to be included in the path so moved it while Windows Media Player was not working.  When I restarted WMP built a new library, but without the personal 1 and 2 entries I had made.  He did not show all entries with the old path name so I could not copy the custom in the new topics fields.  I tried to restore the old path, but it didn't find the data.  I have never given a delete statement that data must always be stored somewhere (probably in AppData\Local); How can I recover it?

    WMP version 11.0.6002.18311

    Vista Home Premium with Service Pack 2

    You can try to restore the files to their original location, but besides that, data must be entered again.

Maybe you are looking for

  • Sierra of MacOS - 50-100GB of storage system?

    Hi all I have a Macbook Air from mid-2013 with 120 GB of SSD storage. I have updated my OS sierra and noticed that the 'system' takes up 100 GB of storage! I tried to delete my files, but for some reason, I still has a very high amount of the storage

  • How can I change my LAN settings?

    I can't find the tools, is not there. So, how can I change my LAN settings.Or where can I find tools?

  • abook. Content MAB appear not.

    I'm putting my addressbook, abook.mab in win 7 Thunderbird. I copied the old XP machine abook.mab to: c:\users\users\apdata\local\thunderbird\profiles\pu40g31c.default. Where is abook, or I need to put somewhere else? TIA for any assistance Paul

  • Toshiba virtual store reset - 15992 account

    Sorry to ask again, but could you please reset again for some reason any does not accept my user name passwordThanks account number 15992

  • How to send pictures to a folder in a store in developing as a local * like XP did?

    Under XP, if my file has been customized for the photos, I could click in the left pane and go through the steps of selecting location to send them for printing and method of payment, etc.  Most of the local pharmacies and the distributor of Kodak pa