Error when executing a query that has measures of these two facts

Hi guys,.

I have three tables. 1 dimension table D1 and two tables of facts F1 and F2.

D1 has columns-> Accountid, account number
F1 has columns-> Accountid, current reserve1, Balance Type
F2 has columns-> Accountid, 2 courses

Now, I want to run a report

D1. Account number, F1. Current reserve1, F2. Course 2, F1. The type of balance.

When I run this report while I'm values only for the F1. Current reserve1 and F2. 2 current is Null.

But when I remove the F1. Balance Type of query, I get the two F1. Current reserve1 and F2. 2 current.

Can someone help me with this.

Thank you
Rondo.

RONDO says:
Hi guys,.

I have three tables. 1 dimension table D1 and two tables of facts F1 and F2.

D1 a columns---> Accountid, account number
F1 has columns---> Accountid, current reserve1, Balance Type
F2 a columns---> Accountid, 2 courses

Now, I want to run a report

D1. Account number, F1. Current reserve1, F2. Course 2, F1. The type of balance.

When I run this report while I'm values only for the F1. Current reserve1 and F2. 2 current is Null.

But when I remove the F1. Balance Type of query, I get the two F1. Current reserve1 and F2. 2 current.

Can someone help me with this.

Thank you
Rondo.

Hi Rondo,

Balance column come from the same logical source than the current balance of F1? If so, then compare the levels of content at the level of the column against the Dimension to ensure that they are on the same granularity.

Thank you.

Tags: Business Intelligence

Similar Questions

  • -You also get an invalid identifier error when executing this query sql for a data model, but not in TOAD/SQL Developer?

    Hello OTN.

    I don't understand why my sql query will pass by in the data model of the BI Publisher. I created a new data model, chose the data source and type of Standard SQL = SQL. I tried several databases and all the same error in BI Publisher, but the application works well in TOAD / SQL Developer. So, I think it might be something with my case so I'm tender hand to you to try and let me know if you get the same result as me.

    The query is:

    SELECT to_char (to_date ('15-' |)) TO_CHAR(:P_MONTH) | » -'|| (To_char(:P_YEAR), "YYYY-DD-MONTH") - 90, "YYYYMM") as yrmth FROM DUAL


    Values of the variable:

    : P_MONTH = APRIL

    : P_YEAR = 2015

    I tried multiple variations and not had much luck. Here are the other options I've tried:

    WITH DATES AS

    (

    Select TO_NUMBER (decode (: P_MONTH, 'JANUARY', '01',))

    'FEBRUARY', '02',.

    'MARCH', '03'.

    'APRIL', '04'

    'MAY', '05'.

    'JUNE', '06'.

    'JULY', '07',.

    'AUGUST', '08'.

    'SEPTEMBER', '09'.

    'OCTOBER', '10',.

    'NOVEMBER', '11'.

    "DECEMBER", "12."

    '01')) as mth_nbr

    of the double

    )

    SELECT to_char (to_date ('15-' |)) MTH_NBR | » -'|| (TO_CHAR(:P_YEAR), 'DD-MM-YYYY') - 90, "YYYYMM")

    OF DATES

    SELECT to_char (to_date ('15-' |: P_MONTH |)) » -'|| ((: P_YEAR, 'MONTH-DD-YYYY')-90, "YYYYMM") as yrmth FROM DUAL

    I'm running out of ideas and I don't know why it does not work. If anyone has any suggestions or ideas, please let me know. I always mark answers correct and useful in my thread and I appreciate all your help.

    Best regards

    -Konrad

    So I thought to it. It seems that there is a bug/lag between the guest screen that appears when you enter SQL in the data model and parameter values, to at model/value data.

    Here's how I solved my problem.

    I have created a new data model and first created all my settings required in the data model (including the default values without quotes, i.e. APRIL instead "Of APRIL") and then saved.

    Then I stuck my sql query in the data model and when I clicked ok, I entered my string values in the message box with single quotes (i.e. "in APRIL' instead of APRIL)

    After entering the values of string with single quotes in the dialog box, I was able to retrieve the columns in the data model and save.

    In the data tab, is no longer, I had to enter the values in single quotes, but entered values normally instead, and the code worked.

    It seems the box prompted to bind the values of the variables when the SQL text in a data model expects strings to be wrapped in single quotes, but no where else. It's a big headache for me, but I'm glad that I solved it, and I hope this can be of help to other institutions.

    See you soon.

  • I cannot download my purchase, even when the album said that has already been paid, what can I do?

    I cannot download my purchase, even when the album said that has already been paid, what can I do?

    What happens when you try to download it? And you try to download from the purchased for example section if using iTunes on your computer, click on your name / icon to the top right of iTunes then click purchased on the popup.

    If it does not show there then check if you have hidden it: mask and unmask purchases iTunes or iBooks on your Mac or PC - Apple support

  • Problem with burning Audio files to a blank CD error "Windows Media Player encountered an error when burning. Check that the burner is connected properly and that the disc is clean and not damaged"

    I recently burned music CD blank so I can enjoy some songs in the car. After that a few discs engraved with success, I received the message "Windows Media Player encountered an error when burning. Check that the burner is connected properly and that the disc is clean and not damaged"when trying to burn audio. To see if it was the m drive, I tried to burn audio files to four separate discs and each of them had the error message. The discs are brand new and have no information on them. I do something wrong or is my burner disconnected? Thanks for all your help and your support! I hope that we can find the cause of this problem so I can continue to make the CDs.

    Consumers concerned,

    Cody bridges

    Could you also confirm that it is playing the discs ok?

    Run the sfc tool and see if it shows anything... instructions here.

    http://support.Microsoft.com/kb/929833/en-us

  • Core of CBWMS JavaScript error: "when executing translateCustomControl in ExternalRenderers.htm...". »

    Since the October release upgrade I get this dozens of times a day error. It seems to happen when changing window that is developed to another program, while in the middle of saving a file in DW. There is a JavaScript error IN the code base of Dreamweaver, it has nothing to do with any file that I am trying to change, sometimes little any type of file, I work in and/or save.

    Here is the error message: "when executing translateCustomControl in ExternalRenderers.htm, a JavaScript error occurred." It is not always the translateCustomControl function, but it is always in the file ExternalRenderers.htm.

    I use Dreamweaver CC 2014 on Windows 8.1

    Any help is appreciated... Thank you!

    I remember well, it is a bug, and someone mentioned previously.

    If I were you, I would like to send a bug report to:

    https://www.Adobe.com/cfusion/mmForm/index.cfm?name=wishform&loc=en

  • Error when executing the convertersamples.exe for converter Standalone command line 5.5

    Hello

    I use the latest SDK Standalone.  I use the default convertersample file.  Here is my file of properties.

    physicalsource. Address =

    physicalsource. UserName = *.

    physicalsource. Password = *.

    physicalsource. OSTYPE = windowsOs

    physicalsource.agentport = 9089

    physicalsource. Thumbprint =

    physicalsource.reboot = false

    vcserver. Address =

    vcserver. Thumbprint =

    vcserver.username = root

    vcserver. Password = *.

    conversion.job.Name = 1

    conversion.job.Description = This is a work of P2V Windows Live

    conversion.vmtocreate.Name = VM15

    conversion.vmtocreate.vCPU = 1

    conversion.vmtocreate.Memory = 4098

    converterserver. Address =

    converterserver. UserName = Administrator

    converterserver. Password = *.

    After that I run the following command

    c:\Users\Administrator\Desktop\P2V\Upload\ > ConverterSamples.exe submitwinp2vjob.properties

    I get the following error

    To proceed with the connection to the destination server?

    (Enter [y] ES, [n] o or [c] ancel): > y

    Caught exception:

    Name: WebException

    Message: The operation has timed out

    Trace: At System.Web.Services.Protocols.WebClientProtocol.GetWebResponse (we

    bRequest request)

    at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse (WebRequ

    application of the East)

    at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke (String methodN

    SOUL, Object [] parameters)

    to (Ma ConverterApi.ConverterService.ConverterServerConversionManagerCreateJob

    nagedObjectReference _this, spec, Obj ConverterServerConversionConversionJobSpec

    extraInfo ect)

    at ConverterSamples.ConverterConnection.SubmitJob (ConverterServerConversionCo

    nversionJobSpec jobSpec)

    ERROR: Impossible to present the work of P2V Conversion.

    But when I opened the converter I see a running job where it says it will take 1 day 19 hours to complete.

    And I have the following queries

    1. Why do we say it will take so long?

    2. If the work has successfully started why do I get the error when I run the above command.

    3. also the vcenter we use support vmx 8 but the new converter creates vmx10. So, what is the setting in the properties file to specify the converter to use vmx 8.

    Any help would be very useful.

    Thanks and greetings

    Debs

    Hello

    The time-out and the conversion time long expected that both point to a slow network. Check your environment.

    The hardware version of destination is not in the properties file, you must change the code. Search for BuildCloningParams in the program, cs and set targetVMSpec.hardwareVersion to 'vmx-08'

    In general I advise to use improved samples (Re: samples improved c# SDK) they are much more configurable, but in the case of the destination hw version also are not.

    Concerning

    Plamen

  • Get the linker error when executing our code in InDesign CC

    Hello

    We are modernizing our plug-ins for Adobe InDesign CC. In that we are facing a problem (the linker error) when running our code,

    1 > AssetCustomView.obj: error LNK2019: unresolved external symbol "public __declspec (dllimport): virtual __thiscall DVControlView: ~ DVControlView (void)" (__imp_? 1DVControlView@@UAE@XZ) referenced in the function __unwindfunclet$? 0AssetCustomView@@QAE@PAVIPMUnknown@@@Z$0

    1 > AssetCustomView.obj: error LNK2019: unresolved external symbol "public __declspec (dllimport): __thiscall DVControlView::DVControlView(class IPMUnknown *)" (__imp_? 0DVControlView@@QAE@PAVIPMUnknown@@@Z) referenced in function "public: __thiscall AssetCustomView::AssetCustomView(class IPMUnknown *)" (? 0InCatAssetCustomView@@QAE@PAVIPMUnknown@@@Z)

    1 > AssetCustomView.obj: error LNK2001: unresolved external symbol "public: class virtual IPMUnknown * __thiscall AbstractControlView::QueryInterface (class < struct PMIID_tag > IDType) const"(?) ". QueryInterface@AbstractControlView@@UBEPAVIPMUnknown@@V? $IDType@UPMIID_tag@@@Z)

    1 > AssetCustomView.obj: error LNK2001: unresolved external symbol "public: virtual void AbstractControlView::AddRef (void) const '(?) __thiscall. AddRef@AbstractControlView@@UBEXXZ)

    1 > AssetCustomView.obj: error LNK2001: unresolved external symbol "public: virtual void AbstractControlView::Release (void) const '(?) __thiscall. Release@AbstractControlView@@UBEXXZ)

    1 > AssetCustomView.obj: error LNK2001: unresolved external symbol "public: class virtual IDType < struct WidgetID_tag > __thiscall AbstractControlView::GetWidgetID (void) const"(?) ". GetWidgetID@AbstractControlView@@UBE? AV? $IDType@UWidgetID_tag@@@XZ)

    1 > AssetCustomView.obj: error LNK2001: unresolved external symbol "public: class virtual PMRect const & __thiscall DVHostedWidgetView::GetFrame (void) const"(?) ". GetFrame@DVHostedWidgetView@@UBEABVPMRect@@XZ)

    1 > AssetCustomView.obj: error LNK2001: unresolved external symbol "public: virtual void __thiscall DVHostedWidgetView::Resize (class PMPoint const & short)" (?) Resize@DVHostedWidgetView@@UAEXABVPMPoint@@F@Z)

    1 > AssetCustomView.obj: error LNK2001: unresolved external symbol "public: virtual void __thiscall DVHostedWidgetView::Invalidate(class PMRect *)" (?) Invalidate@DVHostedWidgetView@@UAEXPAVPMRect@@@Z)

    1 > AssetCustomView.obj: error LNK2001: unresolved external symbol "public: virtual void __thiscall DVHostedWidgetView::Show (short)" (?) Show@DVHostedWidgetView@@UAEXF@Z)

    1 > AssetCustomView.obj: error LNK2001: unresolved external symbol "public: virtual void __thiscall DVHostedWidgetView::Hide (void)" (?) Hide@DVHostedWidgetView@@UAEXXZ)

    1 > AssetCustomView.obj: error LNK2001: unresolved external symbol "public: virtual void __thiscall DVHostedWidgetView::Enable (short, short)" (?) Enable@DVHostedWidgetView@@UAEXFF@Z)

    1 > AssetCustomView.obj: error LNK2001: unresolved external symbol "public: virtual void __thiscall DVHostedWidgetView::Disable (short)" (?) Disable@DVHostedWidgetView@@UAEXF@Z)

    Help us please if anyone has idea about this error.

    Thank you

    Vimala L

    Hi Vimala L,.

    under Windows, you need to add the DV_WidgetBin.lib library to your library includes or just use $UI_PLUGIN_LINKLIST macro that contains this library.

    On Mac, it is included in the framework.

    Markus

  • Error: dwwin.exe - Application error when executing Fallout2.

    Original title: dwwin.exe - Application error

    Hello
    I get this error when you run Fallout2 on my computer (Win XP SP3)

    dwwin.exe - Application error
    X with the exception of the breakpoint
    A breakpoint has been reached.
    (0 x 80000003) occurred in the location of the 0x7c90120e application.
    Click OK to terminate the program
    Click on Cancel to debug the program.

    When I press Cancel to debug the program, it crashes and I have to ctrl + alt + delete to get the Task Manager to end the process to ensure rear control.

    Any advice on what the problem is & how should I solve this problem?

    Thank you

    Hello

    1. what version of Adobe are you running?

    2. when there is this starting happening?

    3. did you other software on the system changes?

    This error can occur if virtual memory is too high.

    You can check the virtual memory settings.

    Set it to 1 on 1 time and a half the size of RAM installed.

    For more information, you can consult the following article:

    How to set performance options in Windows XP

    Did you installed Dell Quickset?

    If installed, then update the same thing and check.

  • Error: CreateFile (C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\~e5d141.tmp I receive this error when opening certain programs that worked and now does not.)

    Original title: error: CreateFile (C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\~e5d141.tmp

    I'm getting this error when opening certain programs to work and now are not. I have studied this particular error and did not find a lot about it or how to fix it.

    I don't think it's a virus.

    I don't know what to do, I tried restores system, right click and run as administrator, I did ensure that allows the firewall thing and completely uninstall and reinstall.

    If you know a way to solve this problem it would be greatly appreciated.

    Delete all files in the temp folder and see if you still receive the error.

    Let us know if that helps.

  • Error display it using MySQL that has a name longer than 30 characters

    Hi, am load MySQL data into a table using an ODI 11 g Interface Oracle.

    Interface errors when MySQL view name is longer than 30 characters. Encounter an error "view not found".

    Is it all work around using data source (seen in this case MySQL) warehouses where the data store name is greater than 30 characters, other than to rename the MySQL view in order to have a name of 30 characters max?

    Thank you

    Kevin L.

    I think that mySQL supports up to 64 characters in the table name. You must update the ODI 11 g topology-> physical Architecture-> Dbl Click on MySQL-> Goto Advanced tab and update the 'Maximum table name length. By default, which is set to 30.

  • Error when executing fn - bea: inlinedXML

    Hi all

    I get the error when you attempt to perform an action to assign to the Service Proxy OSB below message flow. In the action of the claimant, I do fn - bea:inlinedXML($body/*)

    the next error in the newspaper is

    # < 08/06/2013-15:34:05 CEST > < error > < ALSB Logging > < dili > < osb_admin > < ExecuteThread [ASSETS]: '16' for queue: '(self-adjusting) weblogic.kernel.Default' > < < anonymous > > < BEA1-7BDF80E04144 > < 11d1def534ea1be0:75fd2fd6:13ea8708939: - 8000-0000000000096029 > < 1375796045200 > < BEA-000000 > < [PipelinePairNode1_request, ExtractCorrelationInformation, PipelinePairNode1, ERROR] order_event_invalid: command event has invalid format


    content of $body is


    < IRISEvent >

    < OrderHeader >
    < CustomerName > mortenEgeriis-shift < / CustomerName >
    < OrderId > ESV0700000671 < / OrderId >
    < OrderStatus > SHIPPED < / OrderStatus >
    < ShipDate > 6 August 13 < / ShipDate >
    < TrackTrace > < / TrackTrace >
    < / OrderHeader >
    <>lines
    ESV0700000671_1 < LineId > < / LineId >
    < ItemName > Velkomst Kit Privat < / ItemName >
    < ItemNum > 338739 < / ItemNum >
    < quantity > 1 < / quantity >
    < SerialNum > 89450109010803430958 < / SerialNum >
    < / lines >
    <>lines
    ESV0700000671_2 < LineId > < / LineId >
    < ItemName > 5 white 16 GB iPhone < / ItemName >
    < ItemNum > 343654 < / ItemNum >
    < quantity > 1 < / quantity >
    < SerialNum > < / SerialNum >
    < / lines >
    <>lines
    ESV0700000671_3 < LineId > < / LineId >
    < ItemName > Nano On-Line USIM & CSP (B) < / ItemName >
    < ItemNum > 343542 < / ItemNum >
    < quantity > 1 < / quantity >
    < SerialNum > < / SerialNum >
    < / lines >
    < / IRISEvent >

    $fault displays as BEA-382510OSB Assign action failed variable update 'contentXml': com.bea.wli.common.xquery.XQueryException: XML parsing error: {err} FODC0002 [{bea - err} FODC0002b]: parsing XML 'inlinedXML' of entry error: error on line: 25 col: 31 ' "expect a character name valid start PipelinePairNode1PipelinePairNode1_requestExtractCorrelationInformationrequest-pipeline >"


    Please can anyone suggest why this error occurs.


    Thanks and greetings

    Frank Michael Simon

    There is '&' in your last knot of lines

    Nano USIM online & CSP (B)

    It is not support delete & here and try again. And same question Abhishek asked, your body content is already in XML format, why do you use the inlinedXML function?

    Kind regards

    Karan

    Oracle Fusion Middleware Blog

  • Implementation error when executing load interface to Essbase data.

    When executing an interface to Essbase data loading I get this error:
    rg.apache.bsf.BSFException: exception of Jython:
    Traceback (most recent call changed):
    File "< string >", line 26, < module >
    at com.hyperion.odi.essbase.ODIEssbaseDataWriter.loadData (unknown Source)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)


    com.hyperion.odi.essbase.ODIEssbaseException: com.hyperion.odi.essbase.ODIEssbaseException: invalid column type specified for the column of data [ActivityPurpose]

    The data store is reversed using the RKM Hyperion Essbase, I did not any changes in the data store.
    I'm loading from an identical to the tabel of target array.
    I use the IKM SQL for Hyperion Essbase (DATA).

    Does anyone have any idea what this might be?

    Concerning
    Hans-Petter

    Might be useful to have a read of the following doc Oracle Support - "how to avoid signs of ' ODIEssbaseException: invalid column type specified for the data column" Message When loading Essbase models ODI? ". [ID 885608.1] »

    See you soon

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

  • has received the error when executed OR .exe to install software OR wihout PC application

    The error received when it .exe application (with references NOR) is run on a PC.

    So I've changed the property NOR references: local copy-> true

    relating to the compilation, always test it, get error if I use another PC without software OR installed.

    After copy / paste all the dll files required in the directory where .exe is located, it works correctly on the machine without MSudio installed.

    I removed the NationalInstruments.NetworkVariable.dll of my project to simply this process.

    then copy all the dll files based on measure XCOPY deployment files Studio .NET

    You don't have to copy/paste the following files (not 3d)

    msvcp80.dll 8
    MSVCR80.dll 8
    Msvcrt.dll 8

  • Your message has been sent and saved, but there was an error when executing the message on this topic filters.

    Recently received this message when sending emails. Have no idea why. I use filters for incoming messages but none for the out. In fact, I can't find any place to set filters for the outgoing. Please notify.

    This is a bug that will be fixed in a later version. Even if it's boring, it can be ignored.

  • Error message: Adobe Presenter has encountered an unexpected error when you work with that much...

    Suddenly, today, three of my colleagues around the United States with Presenter 7 licenses can no longer save PowerPoint files or work with presenter.  Each of us has created courses successfully last week.

    We all get the message 'unexpected error', tells us to "try to save your work in a new file, and then restart PowerPoint.»  If the problem persists, consult the help section... "We get the message even if we do is type a word on a slide, and try to save the file.

    We cannot open the host help menu... the same error message.

    So now, we can not save a PowerPoint file.  We cannot save a file in presenter.  We cannot save or import audio data to the presenter.  No matter what you click on the toolbar of the presenter, we get the same error message.  Nothing works.

    Help!

    The updater you will get only 7.0.6. 7.0.7 was a major update, which took the presenter of an application from AS2 to AS3 application. I recommend to perform the process of update for 7.0.7, because it is 'necessary' to use with Connect 8.1 and newer. Published presentations wit 7.0.6 and older should work well.

    The 7.0.7 update process can be found here: http://helpx.adobe.com/presenter.html

    There is a link to download the updates of product, where you can get the installer for 7.0.7.

    There are also instructions for upgrading to 7.0.7 as a stand-alone application or as part of a Suite.

Maybe you are looking for