MDX IsLeaf Function for the Hierarchy Member

Hi Guys
Could you share your knowledge about the behaviour of SSAS for this MDX query Please ?
A similar query about the below takes less than a sec to complete with a particular member. However with different member (Parent Member of a Hierarchy), it is running forever and I killed the query.
The profiler shows the event “Query Cube Begin” then nothing happens and I don’t see any event at all. Also I am the only user connected with the SSAS cube.
Could you share your thoughts to investigate this issue ?
Please let me know, if you need any more information.
Similar MDX Query:
With
Member [Measures].[IsLeafFlag]
as
IsLeaf([Customer].[Customer Geography].[Country].[Canada])
Select [Measures].[IsLeafFlag]
on Columns
from [Adventure Works]

Hi SQLguy,
I have tested it on my local environment in AdventureWorks cube, and we cannot reproduce this issue. The query return the result in less than a second no matter which member in IsLeaf function.
IsLeaf (MDX)
Returns whether a specified member is a leaf member.
Argument
Member_Expression
A valid Multidimensional Expressions (MDX) expression that returns a member.
In your scenario, the query run forever when putting a parent member of a hierarchy into IsLeaf function, please ensure that this is a valid member.
Regards,
Charlie Liao
If you have any feedback on our support, please click
here
Charlie Liao
TechNet Community Support

Similar Messages

  • I purchased an additional audio function for the apps "baby monitor"today, but this function didn't work on my ipad. Grateful if you would let me know how to refund the cost.

    I purchased an additional audio function for the apps "baby monitor"today, but this function didn't work on my ipad. Grateful if you would let me know how to refund the cost.

    Refund
    http://www.apple.com/emea/support/itunes/contact.html

  • [svn:bz-trunk] 20970: Add or enhance include functionality for the following configuration elements :

    Revision: 20970
    Revision: 20970
    Author:   [email protected]
    Date:     2011-03-25 14:26:37 -0700 (Fri, 25 Mar 2011)
    Log Message:
    Add or enhance include functionality for the following configuration elements:
    - Adapters
    - Channel definitions
    - Security Constraints
    - Destinations
    - Services
    The following elements are now allowed and can specify either the "file-path" attribute or the "directory-path" attribute.
    The "directory-path" attribute references a directory of XML files (names ending in .xml) that will be treated as a sequence of include files.
    Added unit tests for all the above.
    Fixed a bug in the unit test code that was terminating the verification early.
    Add the confirmation of the security constraints at the top level.
    Updated the example config file with usage examples.
    Modified Paths:
        blazeds/trunk/modules/common/src/flex/messaging/config/ClientConfigurationParser.java
        blazeds/trunk/modules/common/src/flex/messaging/config/ConfigurationConstants.java
        blazeds/trunk/modules/common/src/flex/messaging/errors.properties
        blazeds/trunk/modules/core/src/flex/messaging/config/SecuritySettings.java
        blazeds/trunk/modules/core/src/flex/messaging/config/ServerConfigurationParser.java
        blazeds/trunk/modules/core/test/src/flex/messaging/config/ConfigurationConfirmation.java
        blazeds/trunk/modules/core/test/src/flex/messaging/config/services/1c.xml
        blazeds/trunk/modules/core/test/src/flex/messaging/config/services/1e.xml
        blazeds/trunk/modules/core/test/src/flex/messaging/config/services/1e_destination_include .xml
        blazeds/trunk/modules/core/test/src/flex/messaging/config/services/1f_service_include.xml
        blazeds/trunk/modules/core/test/src/flex/messaging/config/services/Confirm1c.java
    Added Paths:
        blazeds/trunk/modules/core/test/src/flex/messaging/config/services/1e_adapter_include.xml
        blazeds/trunk/modules/core/test/src/flex/messaging/config/services/1e_channel_include.xml
        blazeds/trunk/modules/core/test/src/flex/messaging/config/services/1e_constraint_include. xml
        blazeds/trunk/modules/core/test/src/flex/messaging/config/services/1i.xml
        blazeds/trunk/modules/core/test/src/flex/messaging/config/services/1j.xml
        blazeds/trunk/modules/core/test/src/flex/messaging/config/services/Confirm1i.java
        blazeds/trunk/modules/core/test/src/flex/messaging/config/services/Confirm1j.java

    SDN is the place to discuss technical problems..
    Please avoid such weird post.
    G@urav.

  • Is there a call block function for the iPhone 4S?

    Is there a call block function for the iPhone 4S?  If not, will it be offered in the future?  what else can I do to the phishing calls?

    No.
    Apple has not said.
    Don't answer your phone.

  • Any solution to the iOS 6 bug for auto lock function for the iPhone 4S

    Any solution to the iOS 6 bug for auto lock function for the iPhone 4S

    My guess is they don't care. Most likely they're illiterate and don't know what a colon is for. They probably think it's a little-used character. Remember: these are the people who don't know the difference between "deprecate" and "depreciate".
    I have the same colon problem as you do. But it's not the biggest problem I have encountered in Lion. If it was only that I'd be Mr. Delighted with Lion. There's worse than having a colon - uh -  that won't cooperate. A lot worse, in Lion.

  • N73 - trouble with search function for the contact...

    Hi, i just bought a N73 series phone. i noticed that N73 search function for the contact list is different from others standard. Normally, it should show the 1st contact of the 1st letter that i pressed instead of the contact contains the letter. I found difficulties to look for the contact unless i press 3 or 4 letters. is there any setting can be changed to order search function only search the contacts with the 1st letter that i pressed instead of the letter in middle of the contact?
    For example:
    ang on
    office
    when i pressed "o", the contact will search for "ang on" instead of "office" unless i press few more letters like "off".
    hope to get some help from you guys.

    I found the same problem as this with all my S60 3rd edition phones, what I have done is in my contacts put a hyphen (-)in between the name - i.e Joe Blogs would come us under searches for J & B, so try putting Joe-Bloggs, this way, the search will only come up with all the J's in your phone book directory.
    Hope this helps, DLJ
    DLJ

  • Unable to see the data for the hierarchy in rsa3

    Hi Gurus,
    i am trying to check the data for the standard hierarchy in rsa3,but it is showing an  error message saying that error 6 in functional module rss_program_generate.Please help me out.
    thanks
    bhaskar

    Check if this helps seemed relevant
    Error 6 in function module RSS_PROGRAM_GENERATE
    Error 6 in function module RSS_PROGRAM_GENERATE
    error Error 6 in function module RSS_PROGRAM_GENERATE

  • Is there any function for the Batch assignment of production order

    There is one function in the CO02(Production Order) which named "BATCH ASSIGNMENT".
    CO02 -> Components -> Batch assignment
    But the function only can assign one material one time.
    This is very boring.
    So we are planning to create a new program for it.
    But I can't find any function moudle or BAPI can be used.
    Could anybody give me some function moudle or BAPI for it?
    Tks

    Hello~~~Is there any body here?

  • Need user define function for the message  mapping structure

    Hi All
    I am new to XI.I need the java code for Udf for the following structure.
    i have two input and one out put as error.
    order_nos----
    user define function-------error message
    order_details----
    num of orders---- i.e. 10
    order_details------ i.e. whole order records details
    1.i have to compare the 1st  input with 2nd one means if the ist input contain 10 means there are 10 orders in 2nd input.if not then i have to give error message .
    2.then i have to check the fields in 2nd input has no null values.if no values the output will be error message.
    Edited by: Rohit Kumar on Dec 18, 2008 4:43 PM

    Hi Sudhir
    thanks for your continues help.i need some help so that i can fulfill my requirmrnt
    this is my message mapping xml.
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:methodCall_MT xmlns:ns0="http://www.dfdsf">
      <num_orders>10</num_orders>
      <test_mode />
    - <order_x>                        ( which is order details)
      <order_id>t78tyu8t</order_id>
      <order_date />
      <mfg_id />
      <catalog_id />
      <first_name />
      <last_name />
      <recipient />
      <message />
      <address1 />
      <address2 />
      <address3 />
      <city />
      <state />
      <zip />
      <country />
      <country_code />
      <phone />
      <subtotal />
      <tax />
      <shipping />
      <total />
      <shopatron_total />
      <fulfiller_total />
      <shipment_id />
    - <additional_info>
      <in_store_pickup />
    - <express_shipping>
      <express_shipping_flag />
      <express_shipping_text />
      <express_shipping_arrival />
      </express_shipping>
      </additional_info>
    - <discount>
      <discount_description />
      <discount_percentage />
      <discount_total />
      </discount>
      <lang_id />
      <currency_id />
      <packing_list />
      <num_items />
    - <items>
      <item_id />
      <quantity />
      <price />
      <part_number />
      <fulfiller_total />
      <shopatron_total />
    - <options>
      <option_x />
      </options>
      </items>
      </order_x>
      </ns0:methodCall_MT>
    this my mapping where under one element number elements are there.when i am excuting the code to check the null value its always giving the there is null val but i have filled evrything.its due to first its checking the order_x and which will be always null.uder this all data will be filled.please suggest what to change in the udf.the code  given by u is working fine but its failing in this scenario because it getting the parent filed is null.

  • A TV Function for the iPod nano

    hi,
    i have an iPod nano 4 GB and i tried the Marantz
    dockingstation. Working fine for normal audio play-
    back, but there is a problem about the photo pla-
    back at the tv.
    The iPod 30 GB or 60 GB has a TV function for photo
    and video. I don't want my nano to play video, but
    a great thing would be to use the slideshow on the
    tv ...
    Did i miss something and there is a function like
    that ???

    that's what i got so far
    video isn't the case for me
    but the output of the photos
    shouldn't be a big case to
    integrate with the next update ...

  • Shall i create timeseries functions for the fragmented logical tablesources

    i am not able display the results of ago and to_date logical columns if i use the fragmented logical table sources
    can any body please help me to achieve this task??
    thanks,
    krishna
    Edited by: 835868 on Jun 29, 2011 8:30 AM

    Hi,
    is because the time series function are not supported for the framentation content, see the content of the oracle support:
    The error occurs due to the fact the fragmented data sources are used on some Time series measures. Time series measures (i.e. AGO) are not supported on fragmented data sources.
    Confirmation is documented in the following guide - Creating and Administering the Business Model and Mapping Layer in an Oracle BI Repository > Process of Creating and Administering Dimensions
    Ago or ToDate functionality is not supported on fragmented logical table sources. For more information, refer to “About Time Series Conversion Functions” on page 197.
    Regards,
    Gianluca

  • Callback Functions for the Enterprise API

    I'm using VB to write some API functions to pull journal detail from Enterprise 6.0, but having trouble with the callbacks. I did find some syntax errors in the toolkit.bas file, correct those and am able to pull specific data points, but the enum functions just crash. Because the documentation is scetchy at best, I'm not sure if my functions are wrong, if there are other syntax errors in the .bas file or if the dll's are corrupt.<BR><BR>I'd really appreciate some help from someone who has experience writing callback functions to the Enterprise API.<BR><BR>Thanks in advance.

    Hey there...
    I think part (if not all) of your question can be answered by abstracting it a level. Think of all the tools that are available through PL/SQL or JAVA in the database. For instance...
    * Heterogeneous Services that allow you to access any ODBC/JDBC data source directly from within the Oracle database.
    * DBMS_JOB that allows the scheduling of jobs to run at a given time/interval.
    * DMBS_FILE_UTL that allows Oracle to interact with the file system.
    That doesn't even take into account the things you can do with Java in the database.
    In short, just about everything you mentioned can be done in one shape or form with tools that reside in or around the oracle database.
    HTMLDB is a front end interface tool that has access to all of the tools available to you at database level.
    So in short (and in my opinion): Yes, it is capable of creating Enterprise level applications. I'm building a fairly complex one right now that interfaces with 2 external (non-oracle) databases via Heterogeneous services, and which used DBMS_JOB to schedule jobs to collate data from an external file system.
    I hope this helps..
    Doug Gault
    TXI

  • Is there a page down function for the front panel?

    I have a front panel on two monitor pages. Is there a function which shows the second page when I press a button on the first page and then switches back to the first page when a loop starts over again? Is there additionally a print function which prints then only the second front panel?
    Thank you very much for answering these questions.

    Are these two separate VIs ? If so, then you can open a VI reference, then use it an Invoke Node to modify the properties for the Open FP method. This would allow you to hide, minimize, or unhide the VI.

  • Changing Default Paste Functionality for the Wipedit Plugin

    We have several forms that use the freeform paragraph functionality within the wipedit plugin. We have had issues with users pasing formatted text that contains special characters. We noticed that ctrl+alt+v allows for pasting of unformatted text. Is there an .ini setting that can be used to make the unformatted paste the default behavior all of the time using the standard paste and ctrl+v shortcuts?

    We have had all sorts of issues with this as well. I have been unable to find a solution that works as of yet. From my own debugging it seems as if RP is trying to parse the pasted text as logo's, fields etc.... I am looking at potentially using a script w/ set interval to "clean" the clipboard data but this isn't a perfect solution for numerous reasons.
    What is happening to your letters when the users paste? Our letters actually become unusable after a plugin save. So I am actually very interested in the answer to this question!

  • Where can I find an example of teh overload functions for the "Createvariable"

    I am trying to find a coding example of the overloads for the "CreateVariable" function in Measurement Studio.  The goal is to define a variable type at creation time.
    Thanks

    Hi JohnnieM,
    You can see the three overloads for the CreateVariable method in the help here: http://zone.ni.com/reference/en-XX/help/372636F-01/mstudiowebhelp/html/3c1ef3de/. I couldn't find an example snippet of code but if you wanted to explicity define the type you need to use CreateVariable(VariableCreationOptions) like this:
    string processName = "myProcess";
    string variableName = "myVariable";
    ServerProcessInfo procInfo = ServerProcess.Create(processName, true);
    VariableCreationOptions varOptions = new VariableCreationOptions(processName, variableName);
    varOptions.VariableType = typeof(Double); //this is where you specify the type
    ServerVariableInfo varInfo = procInfo.CreateVariable(varOptions);
    Hope this helps!
    Kevin

Maybe you are looking for