MeasureExpression property - Is there a possibility to implement distinct count with exclude empty?

I have a measure which needs to have distinct count aggregation with exclude empty.
Is there a possibility to specify MeasureExpression property to achieve the same? I have set the aggregation of the measure to none and I have typed the following function,
Count(Distinct(Column_name),EXCLUDEEMPTY)
where as the measure reads 0(zero) upon processing. Is there any other way to achieve this?
The data feed has nulls included too for the column which this is to be achieved, which cannot be modified in the data level.
Regards,
Kantha Girish

Hi Kantha,
According to your description, you want to implement the distinct count aggregation, right? In this case, we can use a query like
count(nonempty([DimName].[HierarchyName].[LevelName].members,[Measures].[MyMeasure]))
Here are some blogs about how to implemet distinct count aggregation, please refer to the link below.
http://blog.sqltechie.com/2009/09/distinctcount-analysis-service.html
http://richardlees.blogspot.com/2008/10/alternative-to-physical-distinct-count.html
If I have anything misunderstood, please point it out.
Regards,
Charlie Liao
TechNet Community Support

Similar Messages

  • Is there a possibility to implement a Portal Services by EJB Bean?

    Let suppose we have a Portal Service class ITestPortalService and EJB called TestEJB
    Can we do this in this way or any other way?
    public class TestBean implements javax.ejb.SessionBean, TestPortalService

    Question: Is there a possibility to implement a Portal Services by EJB Bean?
    I don't think you can do this directly as the portal service is maintained and called from the irj (portal) application, while the EJB beans are called directly from the web application server (as far as I know).
    The only think you could do is to have the Portal Service be  a bridge, which basically only calls the EJB and returns the results.

  • Is there any possibility for a MacBook Air With Touch screen??

    Is there any possibility for a MacBook Air With Touch screen??

    I think they call that the iPad.... 

  • Hello everybody, is there a possibility to block "anonym callers" with iPhone 5?

    Hello everybody, is there a possibility to block "anonym callers" with iPhone 5?

    No. You can try this through your carrier. At this time iphones cannot block callers... I think ios7, when it gets released, will have this feature.

  • Is there a possibility to clone an imac with maverick to 20 other imacs

    i have to install 20 brand new imacs. i mad an master imac and now i want to clone this one to the other imacs. is this possible with for example carbon copy cloner?
    are there problems with the apple IDs?
    Thanks for your help.

    You will need to check with Apple on licensing requirements or there might be Apple ID problems on each machine.
    Here is an excerpt from the SLA; I believe 20 machines would be subject to the commercial or educational category:

  • Is there any possibility to protect number file with pas word ?

    Good morning,
    As many people may use my Ipad, I would like to prevent somebody having acces to confidential file created with numbers.
    As it exist with Excel, is there any possibilty to protect files with password ?
    Thanks for your help.

    No. Numbers for iOS doesn't have file password protest. iOS in general is not designed as a multi-user system and doesn't really provide for this.

  • Is there a bug in implementation of RequestDispatcher with sessions?

    Hi,
    I have two applications, one that contains /stest1/test1.jsp, the other that contains /stest2/test2.jsp. In test1.jsp I set the attribute "stest1-attribute" in the session. Then I get the context of /stest2, include /test2.jsp, and then see if I get the "stest2-attribute", which is set in /test2.jsp. I end up getting "stest2-attribute" but it seems to be I shouldn't since where I set that attribute is in an entirely different web context. Is there a bug here?
    /stest1/test1.jsp
    ========================================================
    <html><body>
    Beginning test in /stest1/test1.jsp. Including JSP page /stest2/test2.jsp
    <p>
    <%
    out.flush(); // must flush before include
    ServletContext ctx = pageContext.getServletContext();
    ServletContext parentCtx = ctx.getContext("/stest2");
    session.setAttribute("stest1-attribute", new String("stest1-only"));
    RequestDispatcher rd = parentCtx.getRequestDispatcher("/test2.jsp");
    rd.include(request, response);
    String s2 = (String) session.getAttribute("stest2-attribute");
    if (s2 != null)
    out.println("<b>*** ERROR - should not see stest2-attribute in web application stest1</b>");
    else
    out.println("Correct - no stest2 attribute visible in stest1");
    %>
    </body></html>
    /stest2/test2.jsp
    ========================================================
    In included page /stest2/test2.jsp.
    <%
    if (session.getAttribute("stest1-attribute") == null)
    out.println("<p>Correct - stest1-attribute should not be visible here");
    else
    out.println("<p><b>*** ERROR - should not see stest1-attribute in web application stest2</b>");
    session.setAttribute("stest2-attribute", new String("stest2-only"));
    %>

    What I discovered was that the main WLAN was mapped to the management interface, and AP Group was overriding the setting.  However, what I found was a lot of access points never got assigned to the AP Group, so they were sitting in the default group and I can only wonder what the service was like with "holes" in the coverage on the main WLAN that is meant for production.
    Moving forward, I think I will replace this Farm with a 5508 and use an interface group on the main wlan and do away with the ap groups.  That way, an AP can boot up and be in the default group and will work..That way technicians don't have to remember what ap group to configure, etc.

  • Without any action the name of the places on the map in a book disappeared and is there a possibility to save a book of cd, dvd or usb as a book not only the pictures in the book

    i have several books - of which 4 have been ordered and delivered - but without any action all of a sudden the name of places disappeared from the map i have in these books
    any idea why ?
    in addition, is there a possibility to save the book - with the layout etc  - on a cd. dvd or usb. i tried on a cd and got only the pictures not with the layout per page. Suggestions ?
    thks.

    To archive a book:
    Duplicate the Library that contains the book
    Remove pics from the duplicate that are not in the book
    Burn the duplicate Library to CD
    Regards
    TD

  • Is to possible to implement clestering in Application Server.

    Hi Experts,
    I am curious to know that is it possible to implement clustering for Oracle Application Server 10g.

    Yes. Please see this [OAS 10g R3|http://download.oracle.com/docs/cd/B25221_04/core.1013/b15977/framewk.htm#sthref61] and [OAS 10gR2|http://download.oracle.com/docs/cd/B14099_19/core.1012/b14003/framewk.htm#CIHDIGEB]. There are some differences in the way R2 and R3 addresses it that you can also get from these links.
    thanks!
    AMN

  • Possibility of implementing "left outer join"

    Hi,
    I have four tables and the common fields in the tables are as given below
    Table         Field
    usr02        bname
    user_addr bname
    usr21        bname persnumber
    adr6                      persnumber
    Now I want to join these tables using "Left outer join", is there a possibility to join these tables,and also if anyone could give me the general idea of the select query,it would be helpful.
    P.S: I tried joining these tables using "inner join", but i got very few records.
           And also I tried joining the tables using "for all entries", but then I got redundant data, I did" sort itab, delete duplicate entries from itab", still i was not able to obtain the desired result from table adr6.So i want to implement a "left outer join".
    Edited by: Narayananchandran on Dec 31, 2010 2:20 PM

    Hi,
    Better to choose cross join instead of Left outer join.
    It will prevent the duplicates.
    So, try to use cross join.
    It will helps to you. check it once.

  • There is possible to active and deactive some buttons ?

    Hey. I have code to detect what page of my flash book is active and question now: there is possible to make 4 diferent effect for one button depend on what page is active? example:
    page 1 : button is red
    page 2 : button is blue
    page 3 :button is black
    i think this is possible but cant figure out how to make this

    if you have a simplebutton, you can change its color using its transform.colorTransform property:
    var ct:ColorTransform=yourbutton.transform.colorTransform;
    if(this.currentFrameLabel=="page 1"){
    ct.color=0xff0000;
    } else if(this.currentFrameLabel=="page 2"){
    ct.color=0x0000ff;
    } else if(this.currentFrameLabel=="page 3"){
    ct.color=0x000000;
    yourbutton.transform.colorTransform=ct;

  • Is there any possibility of connection between QM notifications and the WL in Collection Management?

    Dear ALL,
    Our duty is to find any possibility to show (and to manage, of course) on the Collection WorkList, not only open items already registered in FI-AR, but also any notification registered under the QM module, bearing in mind that it is not an open item, yet.
    Is there any possibility?
    Thanks in advance.

    in short the answer is no.
    You could look at customer disputed objects and using them, but you would need to re-key the data, there is no standard way of transfering data from QM to create  a dispute.

  • Is there any possible to display the text in big font in screen painter

    HI all!
    i want to display the text in the large size in the text field in the screen painter in the odule pool programing.Is there any possible.What i have to do in the screen painter to display the text in the large size.Also is there any possible to put the color for the text.Give me reply

    HI
    CALL METHOD o_dyndoc_id->initialize_document
          EXPORTING
            background_color = cl_dd_area=>col_tree_level1.
        DATA : dl_text(255) TYPE c.  "Text
        CALL METHOD o_dyndoc_id->add_text
          EXPORTING
            text         = 'Flight Details'
            sap_style    = cl_dd_area=>heading
            sap_fontsize = cl_dd_area=>large
            sap_color    = cl_dd_area=>list_heading_int.
    * Display document
        CALL METHOD o_dyndoc_id->display_document
          EXPORTING
            reuse_control      = 'X'
            parent             = cont
          EXCEPTIONS
            html_display_error = 1.
        IF sy-subrc NE 0.
        ENDIF.
    by using these methods you can achieve i hope..
    have a good day.
    regards
    sarves

  • Need to take monthly report for SQL statements...Is there any possiblity?

    Hi,
    We have a requirement to find out the list of expensive sql statements in our ECC 6.0 system.
    I am aware that we can see expensive sql statements which are being executed online in the TCode ST04 or DB02old.
    But I want the list of statements on a monthly wise.
    Is there any possibility to find out the list of expensive sql statements for the previous 3 to 4 months?If so, how do we do that?
    Any report or Tcode with navigations.
    Please help.
    Regards,
    Sudheer.

    Hi,
    > We have a requirement to find out the list of expensive sql statements in our ECC 6.0 system.
    nice.
    > I am aware that we can see expensive sql statements which are being executed online in the TCode ST04 or DB02old.
    expensive SQL in DB02, really?
    > But I want the list of statements on a monthly wise.
    > Is there any possibility to find out the list of expensive sql statements for the previous 3 to 4 months?
    > If so, how do we do that?
    Up to now there is no transaction available with such information. The databases partially offer solutions.
    These are switched on by default of have to be setup before they could be used. So it depends on the
    database and the database version which are you using.
    On ORACLE 10g for example we have the AWR (Automatic Workload Repository) which should be switched on by default (depends again on the license). On ORACLE 9i statspack is available but has to be activated first.
    On DB6 (latest database and SAP release) we have the so called performance warehouse.
    On other databases there might be solutions too.
    Besides that you can always built your own solution and grab the top 10 SQL statements from the SQL cache and
    persist them in regular intervals. I have seen such solutions as well.
    Kind regards,
    Hermann

  • Can´t sync movies with iTunes 11.1.4 (on Mavericks 10.9.1) to iPhone 4S with iOS7. Is there a possibility to reset the sync on iTunes?

    I produced some videos in iMovie 10.0.2 and transfered they to iTunes 11.1.4.
    That worked so far....
    After that I´ve compressed the movies for the use with iPhone and iPod
    .....also worked.....
    Then I tried to sync the movies to my iPhone4s with iOS7.0.4. The sync starts, runs and ends without an error. But after that I can´t find the movies on my phone. There is enough free memory on my phone and I also tried to shut the movie app and restart my phone. The movies are still not there.
    When I check what´s on my phone with iTunes (iPhone connected), iTunes says the movies are on my phone!?!?!?
    Maybe there are some troubles within a sync "library" or something like that? Is there a possibility to reset the sync services or whatever is responsible for the sync?
    Or maybe somebody has another solution which solves the problem!?
    The strange thing is that my music, books and all the other stuff will sync fine!
    Hope that someone can help me with this issue.
    thanks a lot

    I´ve fixed this issue as follows:
    1) did a backup of the iPhone in the cloud
    2) reset the iPhone in manufacturing mode
    3) restored the backup out of the cloud
    After that the sync with iTunes worked well also with movies.

Maybe you are looking for

  • My bill has gone haywire. Why God, why?

    Uh so yea. I'm the son of my dads contract and I hate to see him upset and such. Now I don't want a sob story and all but my dad recently finished a contracting job and hasnt found a job for a month now. It's kinda scary. Anyways yea when I got my iP

  • Withholding tax in Vendor Master

    Hi Some one deleted withholding tax code line in Vendor Master and added one new tax code. I checked in T.Code-XK04 but all changes are not displaying. Can you have any t.code or table or Program where I will find all change detail of Vendor Master.

  • Image dimensions in CSS or HTML; or a Bit of Both?

    I'm asking this because I have a site with several pages with small images illustrating text either floated left or right.  I want each image to be the same width but not the same height.  I want to use the same CSS or as much as I can, on each left

  • Differences between Oracle 10g Enterprise and Standare editions

    Can someone please direct me to a link where I can find the differences between Enterprise and standard editions? Thanks in advance.

  • Laptop crashes every second after installing Lion. And ideas?

    My laptop is crashing every couple of minutes. I'm relating this issue to lion. I have been facing this problem ever since I installed lion. Also, I noticed that it crashes once I use 2 figures on the track pad and scroll down. Please advice