Change in YTD measure results change in other YTD measures in OBIEE 10g

Hi,
I am facing a strange issue where I do a code change for a Sales YTD measure and Investment YTD measure values increase. But the good thing is Sales YTD column results in correct values.
I have checked Sales YTD code and Investment YTD code and there is no relation in RPD. And neither in the reports. Is there anything I need to check related to this behavior.
Any inputs on this would be great help.

Hi Debharati
I have taken sales YTD and sales YTD modified as examples.
Below is the physical query with 3 dimension columns and 2 YTD coloumns(Sales YTD and Sales YTD modified)
If I run sales YTD and sales YTD modified individually along with 3 dimensions. I get the expected result.
If I run both these measures on the same report Sales YTD modified is resulting expected result and Sales YTD values are going up.
-------------------- Sending query to database named Oracle Data Warehouse ----------------------------------
WITH
SAWITH0 AS (select T66755.ROW_WID as c3,
T66755.PER_NAME_YEAR as c4,
ROW_NUMBER() OVER (PARTITION BY T66755.PER_NAME_YEAR ORDER BY T66755.PER_NAME_YEAR DESC) as c5,
ROW_NUMBER() OVER (PARTITION BY T66755.PER_NAME_YEAR, T66755.ROW_WID ORDER BY T66755.PER_NAME_YEAR DESC, T66755.ROW_WID DESC) as c6
from
W_DAY_D T66755 /* Dim_W_DAY_D_Common */ ),
SAWITH1 AS (select Case when case SAWITH0.c5 when 1 then SAWITH0.c3 else NULL end is not null then Rank() OVER ( ORDER BY case SAWITH0.c5 when 1 then SAWITH0.c3 else NULL end ASC NULLS LAST ) end as c1,
Case when case SAWITH0.c6 when 1 then SAWITH0.c3 else NULL end is not null then Rank() OVER ( PARTITION BY SAWITH0.c4 ORDER BY case SAWITH0.c6 when 1 then SAWITH0.c3 else NULL end ASC NULLS LAST ) end as c2,
SAWITH0.c3 as c3,
SAWITH0.c4 as c4
from
SAWITH0),
SAWITH2 AS (select distinct min(SAWITH1.c1) over (partition by SAWITH1.c4) as c1,
min(SAWITH1.c2) over (partition by SAWITH1.c4, SAWITH1.c3) as c2,
SAWITH1.c3 as c3
from
SAWITH1),
SAWITH3 AS (select T66755.PER_NAME_YEAR as c3,
T66755.DAY_DT as c4,
T66755.ROW_WID as c5,
ROW_NUMBER() OVER (PARTITION BY T66755.PER_NAME_YEAR ORDER BY T66755.PER_NAME_YEAR DESC) as c6,
ROW_NUMBER() OVER (PARTITION BY T66755.PER_NAME_YEAR, T66755.ROW_WID ORDER BY T66755.PER_NAME_YEAR DESC, T66755.ROW_WID DESC) as c7
from
W_DAY_D T66755 /* Dim_W_DAY_D_Common */ ),
SAWITH4 AS (select Case when case SAWITH3.c6 when 1 then SAWITH3.c5 else NULL end is not null then Rank() OVER ( ORDER BY case SAWITH3.c6 when 1 then SAWITH3.c5 else NULL end ASC NULLS LAST ) end as c1,
Case when case SAWITH3.c7 when 1 then SAWITH3.c5 else NULL end is not null then Rank() OVER ( PARTITION BY SAWITH3.c3 ORDER BY case SAWITH3.c7 when 1 then SAWITH3.c5 else NULL end ASC NULLS LAST ) end as c2,
SAWITH3.c3 as c3,
SAWITH3.c4 as c4,
SAWITH3.c5 as c5
from
SAWITH3),
SAWITH5 AS (select distinct min(SAWITH4.c1) over (partition by SAWITH4.c3) as c1,
min(SAWITH4.c2) over (partition by SAWITH4.c3, SAWITH4.c5) as c2,
SAWITH4.c3 as c3,
SAWITH4.c4 as c4
from
SAWITH4),
SAWITH6 AS (select sum(case when T159345.W_STATUS_CODE = 'APPROVED' and T159301.W_XACT_TYPE_CODE <> 'Unspecified' then T159098.INV_DIST_AMT * T159098.GLOBAL1_EXCHANGE_RATE else 0 end ) as c1,
sum(case when SAWITH5.c4 = cast(concat(concat(concat(concat(trim(both ' ' from cast(SAWITH5.c3 as CHARACTER ( 30 ) )), '/'), trim(both ' ' from cast(TO_NUMBER(TO_CHAR(TO_DATE('2013-05-29' , 'YYYY-MM-DD'), 'MM'), '99') as CHARACTER ( 30 ) ))), '/'), trim(both ' ' from cast(TO_NUMBER(TO_CHAR(TO_DATE('2013-05-29' , 'YYYY-MM-DD'), 'dd'), '99') as CHARACTER ( 30 ) ))) as DATE) then case when T159345.W_STATUS_CODE = 'APPROVED' and T159301.W_XACT_TYPE_CODE <> 'Unspecified' then T159098.INV_DIST_AMT * T159098.GLOBAL1_EXCHANGE_RATE else 0 end end ) as c2,
T296168.TOP_LVL_PRODCAT_NAME as c3,
T296168.L8ANC_PRODCAT_NAME as c4,
T296168.L7ANC_PRODCAT_NAME as c5,
SAWITH5.c3 as c6
from
W_PROD_CAT_DH T296168 /* Dim_W_PROD_CAT_DH_AUTO_PURCHASING_CATEGORY */ ,
W_AP_INV_DIST_F T159098 /* Fact_W_AP_INV_DIST_F */ ,
W_XACT_TYPE_D T159301 /* Dim_W_XACT_TYPE_D_AP_Spend_Classification */ ,
W_STATUS_D T159345 /* Dim_W_STATUS_D_AP_Invoice_Approval_Status */ ,
SAWITH2,
SAWITH5
where ( T159098.AUTO_PURCHASING_CATEGORY_WID = T296168.ROW_WID and SAWITH5.c1 = SAWITH2.c1 and T159098.APPROVAL_STATUS_WID = T159345.ROW_WID and T159098.SPEND_TYPE_WID = T159301.ROW_WID and T159098.INVOICED_ON_DT_WID = SAWITH2.c3 and T159098.DELETE_FLG = 'N' and T296168.TOP_LVL_PRODCAT_NAME = 'Facilities, Distribution Centers, and Stores' and SAWITH5.c3 = '2013' and T296168.L8ANC_PRODCAT_NAME <> 'Building Materials' and T296168.L8ANC_PRODCAT_NAME <> 'Construction Services' and T296168.L8ANC_PRODCAT_NAME <> 'Utilities' and (T296168.HIERARCHY_NAME in ('XYZ', 'Unspecified')) and SAWITH5.c2 >= SAWITH2.c2 )
group by T296168.L7ANC_PRODCAT_NAME, T296168.L8ANC_PRODCAT_NAME, T296168.TOP_LVL_PRODCAT_NAME, SAWITH5.c3)
select distinct SAWITH6.c3 as c1,
SAWITH6.c4 as c2,
SAWITH6.c5 as c3,
SAWITH6.c1 as c4,
case when SAWITH6.c6 = 'year(current_date)' then SAWITH6.c1 when SAWITH6.c6 <> 'year(current_date)' then SAWITH6.c2 else 0 end as c5,
SAWITH6.c6 as c6
from
SAWITH6
order by c1, c2, c3
-------------------- Execution Node: Close Row Count = 24, Row Width = 752 bytes
Can you please elaborate on checking logical level for each dimension has been set correctly. As I have checked for YTD measure column I did not find the content
tab but checked in levels tab where I could see dimensions and levels where levels are empty for the all the dimensions
Edited by: 949675 on May 31, 2013 6:44 AM
Edited by: 949675 on Jun 2, 2013 9:29 PM

Similar Messages

  • The iPad has a bruised hand, the screen freezes sometimes buy it 4 months ago and I wonder if I can change the other as it has warranty and I have to keep the receipt?

    The iPad has a bruised hand, the screen freezes sometimes buy it 4 months ago and I wonder if I can change the other as it has warranty and I have to keep the receipt?

    Apple's Limited Warranty http://www.apple.com/legal/warranty/ for iPad excludes coverage for damage resulting from accident, disassembly, unauthorized service and unauthorized modifications.
    Apple will provide a replacement iPad for:
    iPad model
    Out-of-Warranty Service Fee
    New iPad
    $299
    iPad 2, iPad
    $249
    Make a Genius Bar Reservation
    http://www.apple.com/retail/geniusbar/
    You can get the iPad repaired at 3rd party repair sources for less $, however, the Apple warranty will be voided.
    iPad Repair & Screen Replacement Services
    http://www.ifixyouri.com/16-ipad-repairs
    RepairZoom iPad Repair
    http://www.repairzoom.com/ipad-repair.html
    Mission Repair
    http://www.missionrepair.com/Apple_iPad_Repair_Services_s/431.htm
    iGadgetResQ
    http://www.igadgetresq.com/ipad-repair/
     Cheers, Tom

  • Replicate column changes into other JTable(s)?

    I have a set of tabs in a JTabbedPane which show the results of a database query from a number of (allegedly) identical databases. Each tab contains a JScrollPane which contains a JTable. All the JTables share the same table model and the data is not editable.
    If the user changes a column (e.g. resizing or moving it) in one JTable I would like the change to be automatically replicated on the equivalent column in the other JTables.
    Is there a simple way to do this?

    Hi,
    Every change in one table produces special event , you should add a "listener" to reflect changes.

  • We had one family apple id. I want to keep all devices on the same apple id for itunes but separate ones for everything else.  How do I change the others now.  We have 3 iphones and an ipad.

    We had one family apple id.  I want to keep all devices on the same apple id for itunes but separate for everything else on the cloud. How can I change the other apple ids now? We have 3 iphones and an ipad.

    Hi, thank you for this post.  I hope you might be able to help me too? 
    I am relatively new to apple (have an iPad) and having been a PC user for years I was pleasantly surprised with the apple experience and am now trying to work out the best set up for me, my husband and young son as I am buying them both of them apple products this Christmas.  New Mac laptop/ ipad for hubby and then an ipod touch for my son oh and a new mac laptop for me. We are also thinking of moving from Blackberries to iPhones. Yes we seem to be hooked! but i am unsure about the home family set up and how to replace my PC network that I run off an 8TB server.
    In reading the forums I keep seeing people talk about problems they have with two apple IDs and trying to merge them. I have also heard about a family ID allowing us to share apps legally.  I am really nervous of setting us up wrong and then having problems later and hence i am now looking for some advice on how to share as much as we can legally but also make usage practical and not invading each others privacy. thoughts so far:
    Music - I think we are happy to share the same music and access using one ID (we currently don't buy much music from apple but have lots of CDs we share).
    Photos - It would be nice to share photos - as long as my son or husband cannot accidentally delete photos of mine (which is my biggest concern). I currently load all camera photos onto my 8TB storage box as the network owner and my husband has full access to copy any photo to his laptop but can never delete the original copies by accident.
    Apps - If possible i would like us to share these but they are cheap enough these days to separate if really needed. Would be good to share licence for pages etc though
    cloud, contacts, facetime, email -  this is what is making me consider separate IDs or learning how to have multiple users in one apple ID - I do not want to have to share synced contacts with my husband. I have near 300 contacts now through work etc and he will not want them plus i will not want his or him being able to delete mine by mistake. and then for email and facetime, well I want to give him his privacy so I do not receive his messages etc. especially now that we are considering switching to iPhones
    Then last but not least, i don't know the best solution for my son. he is only 7 years old so even though I don't want to pay for things again I don't want him being able to download "just any" app from the purchased icon in Appstore. Also, is there a child friendly setting to prevent him from viewing inappropriate content on the internet?
    Appreciate I have asked a lot of questions here but I am looking for any genuine advice out there. Thank you or other potential advisers in advance.

  • My ipod nano 7th gen no longer shows "Playlists" in the music menu. No changes made other than deleting one and adding one playlist to those synced. Synced fine in late February. Not working as of 3/7/2014.

    My ipod nano 7th gen no longer shows "Playlists" in the music menu. No changes made other than deleting one and adding one playlist to those synced. Synced fine in late February. Not working as of 3/7/2014.

    I would either say that the iOS is correpted due to a software glitch or y have have a hardware problem like bad memory locations that are corrupting the iOS.
    - Restore from backup via iTunes. This will install a fresh copy of the iOS. See:                                                
    iOS: How to back up                                                                                     
    - Restore to factory settings/new iOS device.   This will elimate corruptin in the backup causing the problem.          
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
      Apple Retail Store - Genius Bar

  • Album covers have changed to other album covers on my phone

    i have bouht some albums and songs on itunes but now all the cover pictures have changes to other album covers its really annoying and i have tryed syncing my phone with my computer (where it works perfectly )

    Backup the iPhone, restore it from the backup.
    tt2

  • I have a folder from today that won't let me change its name. I can change the other folders just fine. I do it routinely... any ideas what I screwed up?

    I'm as a loss. I don't understand why today's folder "2014-06-06" won't let me add "_Kim" to the end. I do it will all my folders since I download from a couple of cameras.

    sorry... in PS cc and I closed Photoshop, just in case.... it didn't make 
    any difference and it hasn't ever been an issue before.
    In a message dated 6/6/2014 7:03:57 P.M. Eastern Daylight Time, 
    [email protected] writes:
    I  have a folder from today that won't let me change its name. I can change
    the other folders just fine. I do it routinely... any ideas what I 
    screwed up?
    created by ssprengel (https://forums.adobe.com/people/ssprengel)  in 
    Photoshop Lightroom - View the full  discussion
    (https://forums.adobe.com/message/6440564#6440564)

  • Can I alter the properties of an individual link on a HTML page without changing the other links?

    Hi there,
    I have a contact page created in Dreamweaver and have created an email link to launch Outlook when clicked on. However, all the links in my design have been set a certain way, i.e. white text knocked out of darker background. My email link however, is on white background so you can't see it against the white. I want to go in and simply change the color property of the email link without changing the other link colours on the page. I've tried but without luck. Is this possible to do?
    Thanks in advance for any help!

    Hello and thank you for your answer. I'm still a little confuse though.
    My existing HTML looks like this:
    <p><a href="[email protected]">[email protected]</a><br />
    My link preferences are for the who page and are at the top and look like this:
    a:link {
        color: #FFFFFF;
        text-decoration: none;
    a:visited {
        text-decoration: none;
        color: #FFFFFF;
    a:hover {
        text-decoration: none;
        color: #CCCCCC;
    a:active {
        text-decoration: none;
        color: #CCCCCC;
    .style2 {font-size: 14.5px}
    .style3 {color: #FFFFFF}
    Where exactly should I insert the new link ID that you suggested <a id="special_colors" href="url...">link text</a>
    Also, where exactly should I place the following in relation to the CSS document
    a#special_colors:link {color: red;}
    > a#special_colors:hover {color: green;}
    Sorry but this is all quite new to me. Thank you for your patience and help.

  • TS3212 When I try to download iTune, it shows Drive K which does not exist in my computer. It does not allow me to change to other Drive and terminate download stating ' out of disk capacity"

    Whne I download iTune, it shows that it will be downloaded to Drive K which does not exist in my computer. It does not allow me to change to other Drives has enough capacity. Then I click change bottom, attempting to change drive, it terminates the download.
    Do you have any solutions??

    Try "Invalid drive X:\" install errors. You should still be able to chose the drive for the download when downloading the installer with a web browser. The iTunes application is installed on the active system drive, usually drive C:.
    tt2

  • I HAVE A BIG PROBLEM I HAVE NOT BEEN ABLE TO RECOVER THE ANSWERS OF SECURITY SINCE THE MAIL THAT APPEARS TO DO THIS MEAN I NEED TO CHANGE THE OTHER SHOULD I DO FOR THE TRUTH WILL MAKE A PURCHASE AND ME THE REQUESTS, AS IS A NEW PHONE EXPECT AN ANSWER

    I HAVE A BIG PROBLEM I HAVE NOT BEEN ABLE TO RECOVER THE ANSWERS OF SECURITY SINCE THE MAIL THAT APPEARS TO DO THIS MEAN I NEED TO CHANGE THE OTHER SHOULD I DO FOR THE TRUTH WILL MAKE A PURCHASE AND ME THE REQUESTS, AS IS A NEW PHONE EXPECT AN ANSWER PROMPT AND POSITIVE
    so I get looks but that is not my email recovery can help you reset your security information by sending a message to your email recovery: j ••••• @ mail.com

    You need to ask Apple to reset your security questions; this can be done by clicking here and picking a method, or if your country isn't listed, filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (111384)

  • How do I edit base w/o changing the others?

    Is it possible to set a color in a theme as the base without
    changing the others?
    thx
    Andrew

    Hi Sami -
    Thanks - though the base colors drives the others, it would
    still be nice to be able to "unlock" it.
    Regards,
    Andrew

  • Two JTables changing each others data

    I have the following swing setup:
    JPanel mainPanel with GridLayout(0, 1)
    JPanel tablePanelA with BorderLayout
    JPanel tablePanelB with BorderLayout
    JTable tableA
    JTable tableB
    The tables are 2 rows by 7 columns, and are two distinct instances of a class i wrote that extends JTable. They look and act the same, but there are two seperate references. They both use JComboBoxes to allow selectable data in each of the 14 cells.
    I then have:
    tablePanelA.add(tableA)
    tablePanelB.add(tableB)
    mainPanel.add(tablePanelA)
    mainPanel.add(tablePanelB)
    This sets up my main panel with the two tables on it looking how I want it to look. Heres the problem. Whenever I change the data in a cell in either table, the corresponding cell in the other table changes to that same data item also. For example, if i change cell 0,4 in table A to "None", then cell 0,4 in table B will also change to "None". You only see the change on a refresh of the panel, by changing windows to and from the panel, etc. Any ideas on why my tables would be changing each others data?

    Any ideas on why my
    tables would be changing each others data?It sounds like you're sharing a single TableModel instance between the two tables. When one table updates the model, it fires a TableModelEvent which notifies both JTable instances to update their views.

  • Hey I have a problem. I want to change my rescue email address as somehow apple has the wrong one but I don't know my security questions - but you need one to change the other. Any help?

    hey I have a problem. I want to change my rescue email address as somehow apple has the wrong one but I don't know my security questions - but you need one to change the other. Any help?

    You can get your Security Questions reset by contacting iTunes Support at either of the two links below. Select the best options for your issue, or provide specific information. Let them know you are contacting them concerning Forgotten Security Questions. They will get back to you via your primary email address, usually within 24 hours. Once your Security Questions have been reset, you will be able to go in and reset your Rescue email address on your account:
    http://www.apple.com/support/itunes/ww/
    or by email:
    http://www.apple.com/emea/support/itunes/contact.html
    Cheers,
    GB

  • My phone's App Store keepin changing into other languages.

    Recently, I created a new account with country "US". My phones language is also English. But app store's language change into other language that I don't know. Help me .....

    Did you set any restriction?
    Settings>General>Restrictions

  • HT4847 iOS8 uses more space on iCloud for backup than before without changing anything other than upgrading to iOS8... why?

    iOS8 uses more space on iCloud for backup than before without changing anything other than upgrading to iOS8... why?

    Hello westbrkk,
    this is an user-to-user forum, so unfortunately we won't be able to tell you why.

Maybe you are looking for

  • Zooming in Premier Pro

    A friend who has Premiere elements made a video where he zooms and pans the subject.  It is Elements that does it, not the camera.  He said it was in tools, but I can't find it in PP.

  • Access database query data in Java SCriptlet

    Question: Creating a web page and plotting points on the page: 1) Database query results in decimal values latitude and longitude. 2) Perform calculations on lati. & long. in a <% java scriptlet %> I don't know how to pass the data back and forth bet

  • Nokia won't wake up after sleep mode! ( Work aroun...

    WCH1.... Posted this in my first thread Found this somewhere, and it worked for me. Freezing in sleep mode: Go to the device manager (you can go to control panel and click on SYSTEM and then device manager will be in the upper left corner). Go to the

  • HT201364 OS X Download issue

    Hello guys, Why i can not download the OS X from App Store? It says we couldn't complete your purchase !!! My macbook is 2013 retina so it is not an old computer. Please help me if anybody knows the issue.

  • Text Area can not show a mass of chars

    I create a textArea, and assign million chars to the Text property. The flex application is freezing for minutes. Could some one give me an advice to make textArea display mass chars effectively, or is there a way to append text at the end of the tex