Running Total not working correctly

I have a running total setup inside a for loop, the problem is that the running total isn't "running" . Below is the syntax
<?for-each@section:xdoxslt:foreach_number($_XDOCTX,1,3,1)?>
<?xdoxslt:set_variable($_XDOCTX,’DUPE’, xdoxslt:get_variable($_XDOCTX, ‘DUPE’ ) +1) ?>
<?for-each-group@section:/ TMP008/LIST_G_ORDER_BY/G_ORDER_BY/LIST_G_INVOICE/G_INVOICE;G_INVOICE?>
TABLE HERE+_
<?end for-each?><?end for-each?>
I am using this loop to print 3 copies of an invoice, then by using the running total I am trying to call a unique footer on each copy by having the following code in the footer.
<?choose:?>
<?when: xdoxslt:get_variable($_XDOCTX,’DUPE’)=”1”?>
<?call:Footer1?>
<?end when?>
<?when: xdoxslt:get_variable($_XDOCTX,’DUPE’)=”2”?>
<?call:Footer2?>
<?end when?>
<?otherwise:?>
<?call:Footer3?>
<?end otherwise?>
<?end choose?>
What is happening is the first copy is using Footer 3 and the other 2 copies are using Footer 1. FYI at the top of the rtf I have a import statement and set_variable statement as shown below:
<?import:file:///C:\Documents and Settings\username\Desktop\MasterFooter.rtf?>
<?xdoxslt:set_variable($_XDOCTX,’DUPE’, 0)?>
The variable DUPE is getting the value 1 on every page which I don't quite understand.
Any help would be greatly appreciated. I can attach the xml file and rtf if so desired. Thanks

First initialise a variable and assign it value zero (with this code..)
<?xdoxslt:set_variable($_XDOCTX, 'RunTotVar', 0)?>
then embed the following code within the for loop where you want the running total displayed..
the code below shows a running total for the xml field INVOICE_AMT
<?xdoxslt:set_variable($_XDOCTX, 'RunTotVar', xdoxslt:get_variable($_XDOCTX, 'RunTotVar') + INVOICE_AMT)?><?xdoxslt:get_variable($_XDOCTX, 'RunTotVar')?>
Hope this helps. its from one of the examples provided with the template builder for word.
-Domnic

Similar Messages

  • Running Total not working

    Dear all,
    I am creating a new report which needs a conditional running total.
    I need to sum the credits quantity if the following condtions are met
    line_type="S" and
    line_no<3
    I used running total like this
    Field to summarize: lab_credits2.credit_qty
    Type of Summary: SUM
    Evaluate: Use formula
    {lab_credits2.line_type}="S" and
    {lab_credits2.line_no}<3;
    Reset: On change of group (Reason Code).
    When I ran the report, it did not produce the right results, so I placed the line type and line no into the same Group footer and ran the report.
    I found out that the report is not filtering the linetype and line no.
    Result shows
    Line Type ="S" - 100 - Line number =1
    Line Type = "M" - 200 - Line number=6
    and so on.
    The report is grouped by Reason Code.
    Any ideas why would it not be filtering the records?
    Report Record Selection Code
    {lab_credits.credit_date}>={?startdate} and
    {lab_credits.credit_date}<={?enddate} and
    {lab_credits.credit_status} = 2;
    Status=2 is needed there to filter the Order numbers correctly.
    Many thanks
    Regards
    Jehanzeb

    Thanks James,
    I have put all three in detail and used the filteration and it worked under detail section however the results when used in total SUM is produced incorrectly.
    I suspect it might be of database table linkage? or maybe I have done something wrong in the report.
    I am going to create another report and see if that works.
    Will post info here.
    Regards
    Jehanzeb
    Edited by: Jehanzeb Navid on Sep 4, 2008 11:55 AM
    Right I found the issue however I don't know how to resolve it.
    I have 4 tables in the database
    1: Lab Credits - Order_num, Credit_status, Reason_code
    2: Lab Credits2 - Order_num, Line_no, Line_type, Credit_qty
    3: Lab Reasons - Reason_code,Reason_description
    4: Oetrn2 - Order_num
    This is how they are linked up
    Lab_Credits_Order_num = Lab_credits2_order_num and oetrn2_order_num
    Lab_Credits_Reason_code = lab_reasons_reason_Code
    Report Grouping
    Grouped by Reason Code
    Date range - month to date
    Report Record Selection
    {lab_credits.credit_date} in monthtodate and
    {lab_credits2.line_no}<3 and
    {lab_credits2.line_type}="S" and
    {lab_credits.credit_status}=2;
    Now the issue
    When I add sum of qty of lab_credits2_credit_qty into the report Group footer,it produces the right results However when I add
    DistinctCount of Oetrn2_Order_num into the Group footer, it creates totally different Sum of Lab Credit Qty results. (Please note: The oetrn2_order_num results appear fine, however they messup Sum of Lab_credit_credit_qty).
    What do you think where am I doing wrong?
    It has to be something to do with table linkage.
    Regards
    Jehanzeb

  • Totals not working correctly

    I am trying to create a calculation by evaluating a set of records and including only those that meet the criteria in the total. The calculation seems to work correctly on the individual records, but the total does not... it seems to be doubling the result. Here's the calculation:
    SUM(CASE WHEN ( Tx Period."Tx Period Year" = '2007' AND Activity Composite fact.Activity Date <= TO_DATE('07-MAR-2007') ) THEN Activity Composite fact.Activity Amount ELSE 0 END)
    Any help appreciated

    Hi,
    Are there any Page Items on the report?
    Is the report output displayed for all the records? Also, check if "Hide duplicate rows" is checked.
    Thanks.

  • If statement within a view is not working correctly ?

    Hi all,
    maybe i am wrong but i think the if statement within a view is not working correctly. See code down below.
    I would like to use the Hallo World depending on the page attribute isFrame with or without all the neccessary html tags. Therefore i have embedded the htmlb tags in an if statement. But for any reason if isframe is initial it isn't working. It would be great if anybody could help me.
    <%@page language="abap"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <% if not isframe is initial. %>
      <htmlb:content design="design2003">
         <htmlb:page title = "Top Level Navigation view">
    <% endif. %>
    hallo world
    <% if not isframe is initial. %>
         </htmlb:page>
      </htmlb:content>
    <% endif. %>
    thanks in advance and best regards
    Matthias Hlubek

    Matthias,
    The short answer: your example is <b>NOT</b> going to work. The long answer will probably 5 pages to describe. So first let me rewrite the example so that it could work, and then give a short version of the long answer. Do not be disappointed if it is not totally clear. It is rather complicated. (See the nice form of IF statements that are possible since 620.)
    <%@page language="abap"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <% if isframe is <b>NOT</b> initial. %>
    <htmlb:content design="design2003">
      <htmlb:page title = "Top Level Navigation view">
        hallo world
      </htmlb:page>
    </htmlb:content>
    <% else. %>
      hallo world
    <% endif. %>
    So why does your example not work? Let us start with a simple tag:
      <htmlb:page title = "Top Level Navigation view">
      </htmlb:page>
    Now, for each tag, we have effectively the opening part (<htmlb:page>), an optional body, and then the closing part (</htmlb:page>). We are now at the level of the BSP runtime processing one tag. What the runtime does not know, is whether the tag wants to process its body or not. Each tag can decide dynamically at runtime whether the body should be processed. So the BSP compiler generates the following code:
      DATA: tag TYPE REF TO cl_htmlb_page.
      CREATE OBJECT tag.
      tag->title = 'Top Level Navigation view'.
      IF tag->DO_AT_BEGINNING( ) = CONTINUE.
      ENDIF.
      tag->DO_AT_END( ).
    You should actually just debug your BSP code at ABAP level, and then you will immediately see all of this. Now, let us mix in your example with our code generation. First you simplified example:
    <% if isframe is NOT initial. %>
      <htmlb:page title = "Top Level Navigation view">
    <% endif. %>
    <% if isframe is NOT initial. %>
      </htmlb:page>
    <% endif. %>
    And then with our generated code. Look specifically at how the IF/ENDIF blocks suddenly match!
    if isframe is NOT initial.
      DATA: tag TYPE REF TO cl_htmlb_page.
      CREATE OBJECT tag.
      tag->title = 'Top Level Navigation view'.
      IF tag->DO_AT_BEGINNING( ) = CONTINUE.
    endif.
    if isframe is NOT initial.
      ENDIF.
      tag->DO_AT_END( ).
    endif.
    You can see that your ENDIF statements are closing IF blocks generated by the BSP compiler. Such a nesting will not work. This is a very short form of the problem, there are a number of variations, and different types of the same problem.
    The only way to solve this problem, is probably to put the body into a page fragment and include it like I did above with the duplicate HelloWorld strings. But this duplicates source code. Better is to put body onto a view, that can be processed as required.
    brian

  • Key Figure calculation in Abap is not working correctly - Overlooping

    Hi,
    I wrote a logic to calculate the ratio of key figure but it is not working correctly
    For example I have a requirement to split 1 Product into Several new Products and also the Net Amount will be splitted to these several new products as well. The total Amount of the new product will be equivalent to the Net Amount.
    So far my Logic is splitting the product to several new products but the amount is incorrect as the calculation is over looping.
    Sample
    A PRODUCT has Net Amount 1000. And this product needs to be splitted into 3 new products. Each of this new product is assigned a ratio of 0.3, 0.2 and 0.7 respectively. total sum of the ratio is 1.
    PRODUCT1 0.3 = 1000 * 0.3 = 300
    PRODUCT2 0.2 = 1000 * 0.2 = 200
    PRODUCT3 0.7 = 1000 * 0.7 = 700
    The total amount of this new products is 1000.
    Now my logic is working this way.
    PRODUCT1 0.3 = 1000 * 0.3 = 300
    PRODUCT2 0.2 = 1000 * 0.2 * 0.3 = 60
    PRODUCT3 0.7 = 1000 * 0.2 * 0.3 * 0.7 = 42
    Only the PRODUCT1 is working correctly and there is overlooping for the remaining products
    Logic used
    DATA: t_data TYPE data_package_structure OCCURS 0 WITH HEADER LINE.
    DATA: t_newdso LIKE /bic/newdso OCCURS 0 WITH HEADER LINE.
    DATA: t_olddso LIKE /bic/olddso OCCURS 0 WITH HEADER LINE.
    DATA: amount LIKE data_package-netamount.
    DATA: zidx LIKE sy-tabix.
    REFRESH t_data.
    LOOP AT data_package.
      zidx = sy-tabix.
      MOVE-CORRESPONDING data_package TO t_data.
      REFRESH t_newdso.
      SELECT * FROM newdso INTO TABLE t_newdso WHERE prod =
      data_package-prod.
      SORT t_newdso BY prod.
    *LOOP AT T_NEWDSO.
      READ TABLE t_newdso WITH KEY prodh4 = t_data-prod.
      IF sy-subrc EQ 0.
        LOOP AT t_newdso.
          t_data-prod = t_newdso-/bic/znew_mp.
          t_data-material = t_newdso-material.
    *T_DATA-NETAMOUNT = T_DATA NETAMOUNT * T_NEWDSO-/BIC/ZSP_RATIO.*
          APPEND t_data.
        ENDLOOP.
      ELSE.
        REFRESH t_olddso.
        SELECT * FROM olddso INTO TABLE t_olddso WHERE prod =
        data_package-prod.
        SORT t_olddso BY prod.
        READ TABLE t_olddso WITH KEY prodh4 = t_data-prod.
        t_data-prod = t_olddso-prod.
        t_data-material = t_olddso-material.
        APPEND t_data.
      ENDIF.
      MODIFY data_package INDEX zidx.
    ENDLOOP.
    REFRESH data_package.
    data_package[] = t_data[].
    thanks
    Edited by: Matt on Sep 27, 2010 2:25 PM - added  tags

    Hi,
    I am not really good at debugging Abap code since I am a newbie. however  I have tried to add CLEAR T_DATA before the first loop.
    REFRESH T_DATA.
    LOOP AT DATA_PACKAGE.
    ZIDX = SY-TABIX.
    MOVE-CORRESPONDING DATA_PACKAGE TO T_DATA.
    and before the second loop and select statement and at the end of the loop.
    REFRESH T_NEWDSO.
    SELECT * FROM NEWDSO INTO table T_NEWDSO WHERE PROD =
    DATA_PACKAGE-PROD.
    SORT T_NEWDSO BY PROD.
    READ TABLE T_NEWDSO WITH KEY PROD = T_DATA-PROD.
    IF sy-subrc EQ 0.
    LOOP AT T_NEWDSO.
    but then not all data are being fetched.
    thanks
    Edited by: Bhat Vaidya on Sep 28, 2010 8:33 AM

  • Email pushing not working correctly for office email - 3 seperate devices/carriers

    We switched email hosts several months ago and since our email pushing has not worked correctly. Our host/IT guy has been very unwilling to help me through this (I get the pleasure of being the in-house IT source)
    I personally am on AT&T have no problems with the other 3 emails I have set up on my blackberry. However I receive my work account one time a day at roughly 6:15. Another user is on Alltel and he receives spotty emails throughout the day, but his gmail account comes through instantly. The third user is on nextel and he receives his 2-3 times per day.
    I began to think this was an email host issue since the three of us are all on different carriers, until I found out a fourth user, also on nextel, receives his emails fine.
    Users 1-3 are on Outlook 07 on various versions of the Curve. We have all our messages to stay on the server.
    User 4 is on the older nextel blackberry push to talk, and is not on outlook. 
    We do not have an exchange server. Our emails were all set up through our devices.
    Any suggestions? The answers I have received through our carriers is to make sure that our messages are set to be left on the server. Everyone else at the office has given up - but for me this is the quest for the Holy Grail.......I'm determined find the answer!
    Thank you in advance for any suggestions.
    Caitlin Talbot 

    Potential solution for windows for a side-by-side install. This works for me.
    To setup a firefox install side by side so that links from external programs (like email) can open (so you don't get a "Firefox is already running but is not responding" message) do the following.
    The solution entails the use of the -no-remote switch. Don't use it for the default browser. Use it for the non default browser.
    I'll use firefox 3.6 and firefox 4.0 as examples but this should work for future versions.
    + Install firefox 3.6 and Firefox 4.0 in different directories. Eg.
    C:\Program Files\Mozilla Firefox\firefox.exe
    C:\Program Files\Mozilla Firefox 4\firefox.exe
    + Open profile manager. Start > Run : firefox.exe -ProfileManager
    + In profile manager create Two Profiles.
    firefox3.6
    firefox4
    + In profile manager select firefox 4 as your default (assuming you want to default to the latest) and tick "Don't ask at startup"
    + Create two windows shortcuts.
    * General: Mozilla Firefox 4 (default). Shortcut > Target: "C:\Program Files\Mozilla Firefox 4\firefox.exe". Shortcut > Start In: "C:\Program Files\Mozilla Firefox 4"
    * General: Mozilla Firefox 3.6. Shortcut > Target: "C:\Program Files\Mozilla Firefox\firefox.exe" -p firefox3.6 -no-remote. Shortcut > Start In: "C:\Program Files\Mozilla Firefox"
    That's it. Links from external programs should now open in your default browser.
    Further details see. [http://kb.mozillazine.org/Opening_a_new_instance_of_your_Mozilla_application_with_another_profile Opening a new instance of your Mozilla application with another profile]

  • 1st Gen iPod touch not working correctly?

    I have a 1st generation 8GB iPod Touch. It's not working correctly.
    My biggest problem is that, unexplaiably, certain areas of the screen don't seem to register touch anymore. There is a sort of "L" shape on the left and bottom edges of the screen that won't register touch, making it impossible to move applications to the previous page on the home screen and making it hard to use the keyboard/buttons while in portrait mode. It's extremely frustrating to try to change the volume while playing a song, as I now have to either put the iPod in sleep mode then double tap the home button or flip it to cover flow and double tap the home button to do it.
    http://i38.photobucket.com/albums/e140/Vipershark/IMG_0001.png
    (Highlight the image to see it better.)
    This is a screenshot of the working/non-working areas that I made using the Whiteboard application. The white area that you see (excluding the little half circles of black which are extended brush strokes and not actually working areas) is the area that doesn't work. I can't seem to figure out why it happened, as I've never dropped or otherwise damaged it. It just happened one day, and I don't know why.
    But I can't fix it. I've tried everything. Upgrading (I'm now running iPhone OS 3.0 which still didn't fix the problem.) didn't work, restoring didn't work, deleting everything and restoring from factory settings didn't work.
    I'm also having a few other problems as well, though they're not as bad. My home button seems to stop working sometimes and sometimes the entire screen witll stop registering touch until I put the iPod to sleep and turn it back on. It also seems to go a lot slower than usual.
    My iPod is less than a year old. Can you help?

    Vipershark,
    I had a very similar problem this past weekend with my 1G 8GB iPod touch. But with me, just the left side of the screen wasn't registering my touch. I could still access the bottom section, which you cannot.
    The good news for me is that I fixed it and I hope it works for you as well. What fixed it for me was resetting all my settings. To do this, go to the settings icon, then click on general, and then on the very bottom is reset. Choose "reset all settings."
    Apparently this is different than a restore through iTunes, which you tried. I also tried that earlier and it did not help.
    Of course, the reset solution I used relies on you being able to access all of the correct buttons, so I hope you can!
    Please let us know if this works for you. If not, since it is less than a year old, it is still under warranty. Contact Apple and see what they can do.

  • Function keys are not working correctly

    I've been looking all over the various threads and I can't find an answer that solves my problem.
    Here are the details:
    I bought the computer in the U.S. where I live.
    I have a iMac 2.4GHz intel Core 2 Duo  EMC 2133 with a 20" screen. Bought it new in February 2008.
    I have Mac OS X 10.5.8  (I am waiting for my order for OS Snow Leopard to come in!!)
    I have been using a wireless mouse and Keyboard (Love not having cords!)
    Recently, my wireless keyboard got a short and quit working. I went down to the apple store and got a new wireless keyboard.
    I had the computer with me at the genius bar so, yes, the apple employee saw exactly what I have.
    I took it all home got the thing all put back together and got the new keyboard paired up and working with the computer.
    Here are the problems:
    Went to go use the function keys while using iTunes and found they weren't working properly. The F10, F11 and F12 do not control the volume of sound as the keyboard indicates they would, they instead activate dashboard, spaces, and application windows. 
    Following the advice of other threads, I looked over in the system preferences and made sure the "Use all F1, F2 etc." box was unchecked (it was unchecked), things still didn't work.
    I tried the fn key but it appears to not work at all it has no effect on the functioning of the function keys.
    I went under keyboard shortcuts in system preferences and found the F10, F11 and F12 keys, it confirms that those keys control spaces, dashboard and application windows as they are performing but shows no options to either reassign to volume control (as marked on the keyboard) or make the fn key work.
    I've gone back and forth trying various combinations of checked and unchecked boxes to see if anything would work, so far I've come up with nothing.
    A couple more important or interesting facts:
    Yes I have turned off and taken the batteries out of the old keyboard. My bluetooth connection currently shows it as disconnected.
    I have restarted the computer.
    One thing I find odd; when I go under preferences and go to Keyboard and Mouse when I go under the section "Bluetooth" it shows Bluetooth mouse with the name of the mouse and the battery level. BUT nothing is showing up under bluetooth Keyboard, I can't figure out how to change this and don't know if it is contributing to the problem.
    When I go under the bluetooth logo on the top bar I find the mouse and both keyboards referenced, the old keyboard is shown as disconnected and the other two are connected. I have tried to update the device's name but it doesn't seem to let me.
    I have double clicked on the device under bluetooth and it shows the new keyboard as discoverable, paired and connected. Hence, I am using the new keyboard to write this inquiry.
    Please, any assistance would be of great help. I have tried to be thorough in order help narrow the possible problem. Thanks!!

    Hendry
    Just thought I'd let you know.  Our suspicions were correct, it was the OS. After I installed Snow Leopard (10.6.8) all the problems were corrected.  I also updated the RAM from 1 gb to 6 gb. The mac is working all around better. Sorry it took so long to get back to everyone. My superdrive had pooped out. Rather than replace it I got an external drive from OWC connected with firewire 800.  So far everything is running very well, as far as I can tell this external drive is better than the original superdrive. My superdrive has always acted funny, infact I returned the first mac I got after a week because its superdrive was also malfunctioning. Anyway, all that to say everything seems to be fully functioning again.
    Roy
    Re: Function keys are not working correctly 

  • Forecast splitting not working correctly

    Hello
    I have a problem with the forecast splitting not working correctly.  We are using 2M->W     2 MONTH IN WEEKS     0  GLEI and most of the time this appears to work fine but there are occasions where the forecast is split for May, did not split Jun but split July.
    E.g. 
    06.05.2008     IndReq     VSF               9,424-
    12.05.2008     IndReq     VSF               20,845-
    19.05.2008     IndReq     VSF               30,925-
    27.05.2008     IndReq     VSF               24,740-
    02.06.2008     IndReq     VSF               134,257-
    01.07.2008     IndReq     VSF               25,771-
    07.07.2008     IndReq     VSF               32,213-
    14.07.2008     IndReq     VSF               32,214-
    21.07.2008     IndReq     VSF               32,213-
    28.07.2008     IndReq     VSF               25,770-     
    Do any of you Guru's have any idea why this would happen?
    Many thanks
    Sue

    I checked it in MD67
    it is working fine.
    In MD61 - my demand is 800 each for June and July. it hjas splited as below
    system is dividing the total qty on daily basis and then multiplying by no days in that week covered by requirement
    W 22.2008             26.667
    W 23.2008            186.667
    W 24.2008            186.666
    W 25.2008            186.667
    W 26.2008            186.667
    W 27.2008             26.666
    W 27.2008            154.839
    W 28.2008            180.645
    W 29.2008            180.646
    W 30.2008            180.645
    W 31.2008            103.225

  • System Update not working correctly

    Hi forum,
    System Update (Version 4.00.0024) is not working correctly on my T500 with Windows 7.
    1: Not detecting old versions
    SU is not detecting, that there is an old version of Access Connection (5.42) installed although there is a new version 5.50 avaliable. I had to do a manual update.
    2: Not installing a suggested update
    Each time I run SU, I get a suggested update for "Fix for Issue of HDD with HDP Detection for Windows Vista/7". After downloading there comes a meaningless message "package was not installed" (Paket wurde nicht installiert). No hint for any error.
    3: Some drivers (e.g. for the ultranav) have not been downloaded at all - I had to test the functions of some hardware components and download the appropriate drivers manually in case of malfuncion.
    Probably there is a solution known within the forum community, at least this should be a message to lenovo (I received no response from the help desk when reporting this finding).
    Regards
    AH_DE

    Dear Herik,
    thanks for your answer.
    I checked the log  file and found thousands of entries. Here are the lines related to "Fix for ...".
    Info    2010-02-03 , 08:40:37
              bei Tvsu.Gui.CustomComponents.UpdatePanel.SynchronizeBoxPackage(Object sender, EventArgs args)
              Message: Selected to install: Fix for Issue of HDD with HDP Detection for Windows Vista/7, with
    Info    2010-02-03 , 08:40:43
              bei Tvsu.Coreq.LoadCoreqsProcessor.ProcessUpdatesImplementation(Update[] ups)
              Message: Candidate list:
    Fix for Issue of HDD with HDP Detection for Windows Vista/7[reboot type 3]
    Info    2010-02-03 , 08:40:57
              bei Tvsu.GenericPackageInstaller.GenericPackageInstaller.ExtractFiles(String extractCommand)
              Message: osfq03ww.exe -s -ex -fC:\SWTOOLS\OSFIXES Extract command was executed sucessfully in Fix for Issue of HDD with HDP Detection for Windows Vista/7 update
    Info    2010-02-03 , 08:40:57
              bei Tvsu.GenericPackageInstaller.CmdInstaller.InstallUpdate()
              Message: Update Fix for Issue of HDD with HDP Detection for Windows Vista/7 is being install using Windows Service
    Info    2010-02-03 , 08:40:57
              bei Tvsu.Engine.Process.PackageInstallerProcess.InstallNewUpdates()
              Message: Update Fix for Issue of HDD with HDP Detection for Windows Vista/7 installation failed
    ADDITIONAL ENTRIES 
    Info    2010-02-03 , 08:40:57
              bei Tvsu.Gui.FlowScreens.Results.AdjustComponent()
              Message: System updated:
              Installed=0
              Not Installed=Tvsu.Beans.Update[]
              Deferred=0
              Download Failed=0
              Hidden=0
    Severe          2010-02-03 , 08:41:17
              bei Tvsu.Sdk.SuSdk.ShutDownApplication()
              Message: Has happened an exception while the UNCAuthenticator.Shutdown() was executedShare name can not be null or empty
    Since I'm a normal user only, I can't interprete this information. Do you know what to do?
    Kind Regards
    AH_DE

  • Is prompted filter not working correctly with calculated items

    Hello,
    I am working on OBIEE 11.1.1.3 and having problem problem linking 2 analisys with action link
    The test case is:
    I have 2 attribute columns on a dimension
    1. Conto 1 Code
    2. Conto 1 Dsc (in RPD i set up the property Descritor ID of -> Conto 1 Code)
    3. Conto 2 Code
    4. Conto 2 Dsc (in RPD i set up the property Descritor ID of -> Conto 2 Code)
    5. Conto Detail
    and 1 measure on the fact table
    1. Revenue (defined on RPD as simple sum)
    On presentation layer i have the analisys:
    1.
    The First one using as Criteria: Conto 1 Dsc | Conto 2 Dsc | Revenue
    The layout is a table with sub-total on Conto 1 Dsc
    On Revenue i created an action link to the second analisys containing
    2.
    Criteria: Conto 1 Dsc | Conto 2 Dsc | Conto Detail | Revenue
    Filters: Conto 1 Code (is prompted) | Conto 2 Code (is prompted)
    This pair of analisys are working fine.
    Then i created a second pair of analisys as:
    1.
    Criteria: Conto 2 Dsc | Revenue
    Using Calculated group \ Items i created a numerous set of sub-totals
    On Revenue i created an action link to the second analisys containing
    2.
    Criteria: Conto 2 Dsc | Conto Detail | Revenue
    Filters: Conto 2 Code (is prompted)
    This pair of analisys are not working correctly. When i drill from first analisys to second one the Conto 2 Code filter is not used.
    Replacing in the second analisys Conto 2 Code (is prompted) with Conto 2 Dsc (is prompted) a filter is being generated on the drill but it's using the Conto 2 Code value and the analisys ends with no results.
    Thanks,
    Jonni

    Try adding Conto 2 code to the first analysis and keep the filter on the second analysis as Conto 2 code is prompted.
    -Amith.

  • Exchange 2013 - 2007 coexistence - activesync 2007 does not work correctly

    Exchange 2013 SP1.  On going Saga-  Last night we cut over to full co-existence with DNS changes for use of legacy namespace and had to roll back again. We had only two issues but one was considered a show stopper.
    The main issue was that Active Sync would not work correctly for 2007 users. It failed the exchange connectivity test and would only work on a device if the domain was entered - or if the legacy namespace was entered manually. That would have meant
    chaos for several thousand users so we rolled back. (It worked perfectly for 2013 users).
    The error given by the test was "foldersync failed" when I drilled down into the detail. It found autodiscover but failed after the initial handshake. (All other tests passed for 2007 and 2013 users)
    We tried:
    1. Populating both Autodisover internal and external urls with the legacy namespace
    2. Populating only the internal url and leaving the external blank (both 1 and 2 had the same result)
    3. Leaving both URLs blank to force 2013 to proxy to the 2007 cas (totally broke it- would not resolve at all)
    I don't know if this is related but SSO is failing for 2007 OWA - two prompts.
    Environment notes- all internal co-existence is working and the internal LTM F5's are working. Externally we use 2 GTM F5 to the LTM f5's to Ex2013. 2007 has SSL being passed through all the way to the CAS. Servers are split into CAS and MBX over 2 DC's.
    Everything else externally was working when we cut over.
    any and all help appreciated
    Tony

    Hi,
    Glad to know that you have found the solution.
    Thanks for your generous sharing.
    Have a nice day : )
    Thanks
    Mavis
    Mavis Huang
    TechNet Community Support

  • Internet Explorer 11 "Enterprise Mode" do not work or do not work correctly!

    Dear community,
    Since yesterday we test the Feature "Enterprise Mode" for "Internet Explorer 11". However, we have many problems
    with this Feature. We have configured it as described by officially instruction by MS, but it does not work
    properly. Here is what we have done exactly to test this Feature:
    In Registry Key " HKEY_LOCAL_MACHINE \ Software \ Policies \ Microsoft \ Internet Explorer \ Main \ Enterprise Mode " we have created the Entry " Site List " and create the string " Enable" . In the
    String "Enable" we have added no value . 
    In Case of String "Site List" , we have specified the path to the XML file , as value of this String.
    The XML file was created with the Site List Manager from Microsoft
    And now, we regocnized following Problems:
    The "Enterprise Mode" ist only "active", if the User(!) check "Enterprise Mode" under "Tools"...!
    The site list is seemingly ignored, although in the Registry "currentversion" is pulled correctly, everytime we change
    the XML File. So we think "SiteList" is configured well.
    On one of our test computer freezes Internet Explorer 11 , if you try to hook the corporate mode
    In Summary, it seems to be configured properly but it even do not work or not work correctly.
    Our goal would be:
    Enterprise Mode + access to the Site List by IE11 should be "on" by Default!
    Entrys of sitelist.XML should be filtered and shown in "Enterprise Mode" or/and the right "DocMode", as configured.
    The user should have no chance  to check on or off the"enterprise mode"
    We use "Windows 7" on all our Clients, as test Clients are also running the same operating System...
    Please reply
    Thank you very much
    Greetings!
    Ps: Please do not be angry if pronunciation or grammar do not fit well. English is not my nature language (my nature language is german)

    Hi,
    According to your description, seems the end-users can manually turn on\off the enterprise mode, If you don''t want this, you can disable the option.
    Computer(User) Configuration > Administrative Templates > Windows Components > Internet Explorer\Let users turn on and use Enterprise Mode from the Tools menu option
    Disable this option, user will not have "Enterprise Mode" under "Tools", after that, please run gpupdate /force to update the policy, and get "Use the Enterprise Mode IE website list" applied again in the target system.
    After that, the enterprise mode website list get applied again, and user don't have an option to disable it.
    Yolanda Zhu
    TechNet Community Support

  • Program not working correctly-Help!

    class Sort
         /* method takes an array of integers as an input,
         * and returns a copy with the element values sorted
         * by select method.
         int[] selectSort(int[] input)
              /*declare variables to be used in array */
              int x, y, max, temp;
              int[] select = new int[input.length];
              /*This loop reads the entire array */
              for(x = input.length - 1; x>0; x--)
                   max = 0;
                   /*This loop checks to see if any number is
                   lower possible greatest number /
                   for(y = 0; y <= x; y++)
                   {//Returns number if lowest number
                        if(input[y] > input[max])
                             max = y;
                        }//end of if statement
                   }//end of inner loop
                   /*Switches the values */
                        temp = input[x];
                        select[x] = input[max];
                        select[max] = temp;
              }//end of outer loop
              return select;          
         } //end of selectSort()
         /* method takes an array of integers as an input,
         * and returns a copy with the element values sorted
         * by bubble method.
         int[] bubbleSort(int[] input)
              int[] bubble = new int[input.length];
              for (int x = 1; x < input.length; x++)
                   for (int y = 0; y < input.length - 1; y++)
                        if (input[y] > input[y+1])
                             int temp = input[y];
                             bubble[y] = input[y+1];
                             bubble[y+1] = temp;
              return bubble;
         } //end of bubbleSort
    **********************Test Class**********************
    class TestSort
         public static void main(String[] args)
              /* count variable used as loop counter when
              * result table display is generated
              int count;
              /* variable for object of class Sort */
              Sort x;
              /* create object of class GroupEx2 */
              x = new Sort();
              /* create a source array of integer elements */
    int[] y = new int[5];
    /* assign values to array elements to be sorted     */     
              y[0] = 8;
              y[1] = 5;
              y[2] = 3;
              y[3] = 9;
              y[4] = 1;
              /* create variable for target of select sort array */
              int[] ss;
              /* create variable for target bubble sort array */
              int[] bs;
              /* call method to return an array with element values select sorted*/
              ss = x.selectSort(y);
              /* call method to return an array with element values bubble sorted*/
              bs = x.bubbleSort(y);          
              /* display original and sorted arrays in three columns*/
              System.out.print("Input Array" + "\t");
              System.out.print("Select Sort" + "\t");
              System.out.println("Bubble Sort");
              for (count = 0; count < y.length; count++)
                   /* Column 1: original array */
                   System.out.print("input[" + count + "] = " + y[count]);
                   /* tab between columns 1 and 2 */
                   System.out.print("\t");
                   /* Column 2: select sorted array */
                   System.out.print("select[" + count + "] = " + ss[count]);
                   /* tab between columns */
                   System.out.print("\t");
                   /* Column 3: bubble sorted array */
                   System.out.println("bubble[" + count + "] = " + bs[count]);
              } // end of display for loop
         } // end of main()
    } // end of class TestSort

    Thanks for the Bash! I'm surprised you had the time
    for it.Go back and look at your original post. A whole bunch of code, and the only description of the problem is "not working correctly." Do you honestly think that's a reasonable way to ask for help? Do you go to the doctor and say, "I'm sick" and then just wait for him to cure you? Do you take your care to the mechanic and say only, "It's broke"?
    Look, this is your problem and it's your responsibility to fix it. There are people here who are happy to help you, but it's up to you to provide a reasonable statement of what's wrong, what you've tried, what you don't understand. For instance:
    Does it compile? If not, post the complete error message.
    Does it run, but throw an exception? If so, post the stack trace.
    Does it not throw an exception, but not behave the way you expect? Then describe the expected beavior and the observed behavior.
    Do you really need to be told this stuff? It seems like common sense that when you're asking people to spend their time helping you, you should give them the information they need to be able to do so.

  • 10.9.2 Mail not working correctly

    I'm the only person in the office to upgrade to 10.9.2 (thankfully!). Since then, Mail has not worked correctly. It is an IMAP account.
    When I click on an existing message in my inbox, instead of displaying instantly it takes 3-4 seconds. The screen scrolls light grey, dark grey, light grey, dark grey then the message. I can live with this but it's very annoying.
    But worse, I now cannot perform any mail searches to refer back to existing messages I have in any of my mailboxes. Search functions 'to, 'from' 'entire message', 'any' do not  work. Even if the message or sender is in the inbox, it can’t find it. This is serious as I'm constantly using this function.
    Many thanks if you can help.
    Simon

    My wife is having the exact same problem all of a sudden with gmail on her MacBook Air. Also running 10.9.2. Everything is running perfectly on the iPhone, but on the Mac, no new email is downloading and the inbox is not syncing.
    Hoping someone can help. Thanks!

Maybe you are looking for