Show N/A for for particular combination and show value for specific combination only

I have following cube Structure:
Measure
     Value
DimTime
    Fiscal Month
DimTable
   Table Name
   Row Name
   Column Name
DimGeography
   GeographyLevelName
   GeographyName
Questions:
1) I want to show N/A when only measure value is selected
2) I want to show N/A when I slice measure value w.r.t to GeographyLevelName, GeographyName, FiscalMonth, TableName, Row Name
3) I want to show measure value for this combination only FiscalMonth, GeographyLevelName, GeographyName, FiscalMonth, TableName, Row Name, Column Name and Value (measure)
Option tried:
I used Scope to achieve this but not able to do for all scenarios:
SCOPE(Measure.[Value]);
     SCOPE(Root());
           SCOPE(Measure.[Value], DimTime.[Fiscal Month].MEMBERS, DimTable.[Table Name].MEMBERS,
                  DimTable.[Row Name].MEMBERS, DimTable.[Column Name].MEMBERS,
                  DimGeography.[GeographyLevelName].MEMBERS,   
                  DimGeography.[GeographyName].MEMBERS);
                  THIS = 'N/A';
        END SCOPE;
     END SCOPE;
END SCOPE;
Any suggestion is appreciated :) :D

SCOPE(
          [Measures].[Metric Value]
        , [Dim Time].[Fiscal Month Name].MEMBERS        
        , [Dim Geography].[Geography Name].MEMBERS
        , [Dim Metric].[Row Name].MEMBERS
        , [Dim Metric].[Column Name].MEMBERS
    THIS = IIF (
                [Dim Metric].[Row Name].CurrentMember 
IS [Dim Metric].[Row Name].[All]
OR [Dim Metric].[Column Name].CurrentMember 
IS [Dim Metric].[Column Name].[All]
OR [Dim Time].[Fiscal Month Name].CurrentMember 
IS [Dim Time].[Fiscal Month Name].[All]
OR [Dim Geography].[Geography Name].CurrentMember 
IS [Dim Geography].[Geography Name].[All] 
        , "Error: Check the Dimension selected"  
        , IIF (
                      //Enter your combination                        
[Dim Metric].[Row Name].CurrentMember IS 
[Dim Metric].[Row Name].&[MPS]  
AND  [Dim Metric].[Column Name].CurrentMember 
IS [Dim Metric].[Column Name].&[YoYASP]
OR 
                 [Dim Metric].[Row Name].CurrentMember 
IS [Dim Metric].[Row Name].&[ASP] 
                 AND  [Dim Metric].[Column Name].CurrentMember 
IS [Dim Metric].[Column Name].&[% PTR]
              , "N/A"
              , IIF (
                        ISEMPTY([Measures].[Metric Value])
                       , "No Data"
                       ,[Measures].[Metric Value] 
END SCOPE;

Similar Messages

  • Need working days for a particular month and year

    Hi,
    I need the number of working days for a particular month and year.Saturdays and Sundays are holidays.
    Regards,
    Vignesh

    Try this:
    SQL> var yr NUMBER;
    SQL> exec :yr := 2010;
    PL/SQL procedure successfully completed.
    SQL> with t as (select :yr yr from dual)
      2  SELECT TO_CHAR(dat,'MON-RR'),COUNT(*) FROM
      3  (select TO_DATE('01-JAN-'||yr) + lv dat FROM
      4  (select level - 1 lv,yr from t
      5  connect by level <= TO_DATE('31-DEC-'||yr) - TO_DATE('01-JAN-'||yr) + 1))
      6  WHERE TO_CHAR(Dat,'DY') NOT IN ('SAT','SUN')
      7  GROUP BY TO_CHAR(dat,'MON-RR');
    TO_CHAR(DAT,   COUNT(*)
    APR-10               22
    AUG-10               22
    DEC-10               23
    FEB-10               20
    JAN-10               21
    JUL-10               22
    JUN-10               22
    MAR-10               23
    MAY-10               21
    NOV-10               22
    OCT-10               21
    TO_CHAR(DAT,   COUNT(*)
    SEP-10               22
    12 rows selected.
    SQL> Edited by: AP on Jul 27, 2010 7:54 AM

  • Under TV Shows there used to be favorates, search and so one, for reason, just "My TV Shows" shows up but nothing else.

    Under TV Shows there used to be favorates, search and so one. for some reason, just "My TV Shows" shows up but nothing else.  I can't look up top shows, look at my fav shows, or even search up shows any more.  I restored my apple tv factory settings but it was still missing.  Pior to doing that I pulled the power cord and reset my networks... and still noting, please help....

    Welcome to the Apple Community.
    Yes there are quite a few similar reports at the moment, I haven't experienced the problem, yet others in the UK have, so we're not quite sure what criteria determines whether you are affected by this. I haven't seen any solutions so far, so it may just be a case of waiting to see if it's repaired or whether the rest of us are going to see the same thing.

  • Tax model, Tax combinations and Tax types for New Jersey

    We are having problems in computing taxes correctly for Employees who have their Work tax area and Residence tax area as New Jersey.
    Can anyone please help with the best Tax model, tax combination and Tax types for these combination for New Jersey.
    It will be better if you have employees in New Jersey, who have their Taxes deducted correctly.
    We are in an implementation and unfortunately it has been a while since we have applied any Tax related SAP notes or BSI tubs.
    Appreciate all help.

    i have been researching and have found that NJ state taxes are like Puerto Rico taxes. The Schema UMOT may have to be used with a different modifier to calculate Withhoding tax for NJ , different from FED.
    Has anyone of you used this schema ? I find that UTAXRAUTHY ( tax authority) is an Operation in the deecisison tree .Can anyone confirm if Tax type is also an operation?
    I shall appreciate any related feedback.Thanks.

  • Where could we find the CT and PT values  for Particular Device ???

    I 'm facing a scenario in  a report  i need to place a  field device number and assosiated  CT's and PT's .
    where could we find the CT and PT values  for Particular Device ??? basically im MM consultant   we don't ahave  DM consultant  please help with this issue???
    means actually i got the table and field  details  for transformation ratio (or) CT/PT ratio
                          ETYP_UEBERVER. from the screen EG03 , t-code
                            but im not sure   this  is the exact field that i require  ....
    can any one help ....   i will be very  thankfull to your  solution  inadvance....

    The transformation ratio are the attributes of a "Winding Group".  Find winding group of a device and then you'll get the desired information.

  • Attributes and attribute values for a Product

    Hi all
    Is there any table or FM from where I can get a list of all the attributes and the attribute values linked to a particular product?
    I got tables which link product with Prod Category, Prod Category with Set types and so on.
    Could anyoe please provide me an FM which will give the attribute and its values for a particular product?
    Please help!!
    Regards
    Debolina

    Attributes created under s settype will be under the table with the name of that particular settype itself i.e Table name and the settype name are the same.
    The other part of your question of where to find the list of all settypes and their corresposing attributes, you can make use of COMM_PR_FRG_REL.
    Regards,
    Harshit

  • Query to reterive the list of parameters and there values for scheduling

    I am develeoping a web application using java sdk want to reterive a parameter list for scheduling.
    i want a query that will reterive the list of parameters
    as we see on the parameters screen in CMC when we schedule the report.

                   // Loop through the parameters to get the parameter names and parameter values.
                            for(int i=1;i<=numberPrompts;i++)
                           // Each prompt has the name SI_PROMPT + a digit starting from 1.  For example, if
                           // there are 2 prompts, the first one would be called SI_PROMPT1 and the second
                           // one would be called SI_PROMPT2.
                       IProperties prompt = (IProperties)siPrompts.getProperty("SI_PROMPT"+i).getValue();
                           // Get the parameter name.
                       String promptName = prompt.getProperty("SI_NAME").getValue().toString();
                           // Start displaying a row.
                           out.println("<tr>");
                              // First column in the row is the parameter name.
                       out.println("<td>Parameter Name = "+promptName+"</td><td><table>");
                           // Get the current values property bag.
                       IProperties currentValues = (IProperties)prompt.getProperty("SI_CURRENT_VALUES").getValue();
                           // Get the number of values for this particular parameter.
                           int numberValues = ((Integer)currentValues.getProperty("SI_NUM_VALUES").getValue()).intValue();
                           // Loop through all of the values for this particular parameter.
                           for(int j=1;j<=numberValues;j++)
                               // Print out the values.
                            // Each value has the name SI_VALUE + a digit starting from 1.  For example, if
                            // there are two values, then the first value would be called SI_VALUE1 and the
                            // second value would be called SI_VALUE2.
                        IProperties currentValue = (IProperties)currentValues.getProperty("SI_VALUE"+j).getValue();
                            // Check for the existence of the "SI_MIN" and "SI_MAX" properties.
                            // If it exists, then display the value.
                            if (currentValue.getProperty("SI_MIN") != null && currentValue.getProperty("SI_MAX") != null)
                                     // The SI_MIN and SI_MAX properties exist.
                                if (currentValue.getProperty("SI_MIN").getValue() != null && currentValue.getProperty("SI_MAX").getValue() != null)
                                    // The properties have values.
                                 // Get the SI_MIN property bag.
                                 IProperties minRange = (IProperties)currentValue.getProperty("SI_MIN").getValue();
                                 // To store the minimum and maximum values.
                                 String minValue = "";
                                 String maxValue = "";
                                 // Get the SI_DATA property of the SI_MIN property bag.
                                 // First verify that SI_DATA exists.
                                 if (minRange.getProperty("SI_DATA") != null)
                                                // SI_DATA exists within SI_MIN
                                     if (minRange.getProperty("SI_DATA").getValue() != null)
                                         // SI_DATA has value so set the minValue to this.
                                      minValue = minRange.getProperty("SI_DATA").getValue().toString();
                             // Get the SI_MAX property bag.
                             IProperties maxRange = (IProperties)currentValue.getProperty("SI_MAX").getValue();
                             // Get the SI_DATA property of the SI_MAX property bag.
                             // First verify that SI_DATA exists.
                                 if (maxRange.getProperty("SI_DATA") != null)
                                     // SI_DATA exists within SI_MAX
                                     if (maxRange.getProperty("SI_DATA").getValue() != null)
                                         // SI_DATA has value so set the maxValue to this.
                                      maxValue = maxRange.getProperty("SI_DATA").getValue().toString();
                             // Print out the Minimum and Maximum values for the parameter.
                             out.println("<tr><td>Range " + j + " Min Value " + minValue + " Max Value " + maxValue + "</td></tr>");
                                else
                                    // The SI_MAX and SI_MIN properties exist, but they don't have values.
                                 out.println("<tr><td>The SI_MIN and SI_MAX properties exist, but they don't have any values.</td></tr>");

  • Cannot sign onto my aol account today through firefox.. it works for other browsers..and usually works for firefox

    cannot sign onto my aol account today through firefox.. it works for other browsers..and usually works for firefox

    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • Cant able to see new value and old value for change in purchase order text

    Hi all ,
    I am not able to see changes done in material's purchase order text in material master. When i use tcode MM04 to see changes done material master it does not report new and old value for change if it is done in purchase order text of that material .
    Thanks in advance  ,
    Shikha

    Hi Shikha,
    I'm not sure it works or not. But you can try SCU3 t.code and table DBTABLOG. May it can help you out.
    I also faced this type of issue in Plant data and it get resolved.
    Try and let me know...
    Regards
    Sunil Sisodia

  • On my Macbook pro 15 2011, System Profiler is suggesting that it uses SATA III for the hard drive and SATA II for the Optical Drive.  Is that true?

    On my Macbook pro 15, 2011, System Profiler is suggesting that it uses SATA III for the hard drive and SATA II for the Optical Drive.  Is that true?

    That is correct. The tech specs indicate:
    Hard Drive Interface
    6.0 Gbps Serial ATA (SATA)
    Optical Drive Interface
    3.0 or 6.0 Gbps Serial ATA (SATA)

  • Can anybody tell me how to extract sales value and cost value for an materi

    dear all,
    Can anybody tell me how to extract sales value and cost value for an material sold .
    All the values of cost value and sale values are getting  stored in bseg-wrbtr field .
    How to identify them uniquely.
    Or there is another way to find the sale and cost values.
    Regards
    Mave

    Hi Mave!
    Normally there is no condition change, when something is sold.
    But sales price depends on sales conditions (not only price, but also surcharges, discounts, taxes - if customized).
    Nevertheless, after selling you have a invoice document, where correct values <i>should</i> be stored (see VBRP fields mentioned above). If here is a problem, then customizing of price determination is in question, not a programming of user-exits with MARD selection for costs (or some other tries to get a price).
    When you specify your requirements more in detail, you might get better answers - but currently only general hints are possible ('see in invioce / G/L accounts').
    Regards,
    Christian

  • Trigger how to get new and old value for nested table column?

    Hi,
    I have created a nested table based on the following details:
    CREATE TYPE typ_item AS OBJECT --create object
    (prodid NUMBER(5),
    price NUMBER(7,2) )
    CREATE TYPE typ_item_nst -- define nested table type
    AS TABLE OF typ_item
    CREATE TABLE pOrder ( -- create database table
    ordid NUMBER(5),
    supplier NUMBER(5),
    requester NUMBER(4),
    ordered DATE,
    items typ_item_nst)
    NESTED TABLE items STORE AS item_stor_tab
    INSERT INTO pOrder
    VALUES (800, 80, 8000, sysdate,
    typ_item_nst (typ_item (88, 888)));
    Now I would like to create a trigger on table pOrder for after insert or update or delete
    and I would like to track the new and old value for the columns inside nested table.
    Can anybody direct me how to do it?
    I would like to know the sytax for it like:
    declare
    x number;
    begin
    x := :new.nestedtablecolumn;--how to get the new and old value from nested table columns
    end;
    Hope my question is clear.
    Thanks,
    Lavan

    Hi,
    Try like this:
    CREATE OR REPLACE TRIGGER PORDER_I
    BEFORE INSERT
    ON PORDER
    REFERENCING OLD AS old NEW AS new
    FOR EACH ROW
    DECLARE
      items_new typ_item_nst;
      ordid_NEW NUMBER;
    BEGIN
    FOR i IN :new.items.FIRST .. :new.items.LAST LOOP -- For first to last element
      DBMS_OUTPUT.PUT_LINE(':new.items(' || I || ').prodid: ' || :new.items(I).prodid );
      DBMS_OUTPUT.PUT_LINE(':new.items(' || I || ').price:  ' || :new.items(I).price );
    END LOOP;
    END;Regards,
    Peter

  • Differences between Oracle 8i for a UNIX Platform and Oracle 8i for a Linux Platform

    Hello,
    J would like to know if there are some differences between Oracle 8i for a UNIX Platform and Oracle 8i for a Linux Platform.
    I know that there are some differences on Oracle 8i Parallel Server and i know that some products are not include like precompiler (Mod*Ada, Pro*FORTRAN) on a Linux Platform.
    Thank you.

    We have installed Oracle 8i on Solaris 8 and it had a great performance, of course that the hardware and licence invested here was costed my the office where i work. Personaly i'd installed linux reh hat 8 and oracle 8i, imagine that, it could be implemented by any individual that has the time to do so.
    By buyinng from a company that has a good background you could be sure that you will have support.
    Bottom line, if you have the $ to buy great hardware go for a unix platform. But if you don't a Red Hat Linux Server Licence with a 1 year sopport and Oracle data base is about 3500Dls.
    Visit www.red-hat.com
    Rewards... Bye

  • How to avoid the Amount and Date values for VOID Cheques

    Hi All,
    I had created a two window i.e For Amount and Date. If I process the cheque the Amount value and Date should not trigger for VOID CHEQUES.
    Can any one tel me how to avoid the Amount and Date values for VOID Cheques
    Your help will be greatly appreciated.
    Regards
    Yathish

    Hi,
    I dont know which tablel you are referring to, is it PAYR table and the field VOIDR?
    If a cheque is voided, it would have a reason and it is stored in VOIDR field of this PAYR table.
    Check if the field VOIDR is filled, if it is filled, do not print the amount and date.
    Regards
    Subramanian

  • Filters for Blown out camera and color shots for CS5

    What are some good filters to fix blown out camer and color shots in CS5?
    Thanks,

    Hi Bill, Here's the link the of the blown out footage. http://www.youtube.com/watch?v=4lxJJN2PgqM&feature=youtu.be
    Date: Wed, 18 Jul 2012 17:20:37 -0600
    From: [email protected]
    To: [email protected]
    Subject: Filters for Blown out camera and color shots for CS5
        Re: Filters for Blown out camera and color shots for CS5
        created by Bill Hunt in Premiere Pro CS5, CS5.5, & CS6 - View the full discussion
    Well, a few Effects, that might help - a little, would be Curves, Levels and Shadow & Highlight, along with the Three-way Color Corrector. However, the success will depend on the footage. Can you post a Vimeo, or YouTube example, as once one sees what you are working with, they may have other ideas. Good luck, and welcome to the forums, Hunt
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4566208#4566208
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4566208#4566208. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Premiere Pro CS5, CS5.5, & CS6 by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Relevent specifications for JSF 2.0 and JSTL 1.2 specification evaluation.

    Hi,
    I am studying final draft version of JSF 2.0.
    What all other specifications required for JSF 2.0 and JSTL 1.2 specification evaluation with respect to glass fish 3.0.
    Please let me know what all other JSRs required to go through.
    Thanks,
    Ravi

    You will want a solid understanding of Servlets.
    You may want to use EJBs and EARs; then again, you may not.

Maybe you are looking for