Restrictions on Measure Objects..in Universe

Hello Everybody,
I am trying to apply Restrictions on Measure Objects based on a Financial Year rather than a Calender Year.
For example:  I am trying to find Total Sales for a Financial Year( that may be like  01/06/2008 to 31/05/2009) not the regular Calender Year( 01/01/2008 to 31/12/2008)...
But i am unable to figure it out, how to do it exactly in Universe...
Any Suggestions or any peace of information is really appreciated...
Thanks
Raghu...

Hi,
Here is a sample with "Calendar Year/Month" characteristic. The calculation is the aggregation from September 20005 to July 2006.
You have to write an expression such like this:
<EXPRESSION>Aggregate({[0CALMONTH].[200509]:[0CALMONTH].[200607]})</EXPRESSION>
Regards,
Didier

Similar Messages

  • Drill function implemented on Measure object column in the webi report

    Post Author: madan kumar
    CA Forum: WebIntelligence Reporting
    Hi,
    I have a small issue in my project.(Maintenance Project)I created a measure object in the fact table of the existing universe and saved and exported to the repository. (Say Measure object is D where D = A-(B+C))I inserted the same object as a column between two measure objects columns of a existing WebI report.
    The report has two hierarchies involved  - each hierarchy has dimension objects involved.I have checked with the hierarchies to make sure that measure object is not involved.The scope of analysis is None for the query.Version is BO XI R2.
    The issue is the Drill function is implemented on that particular new column.The drill function should be applicable only to the two dimension objects involved in the report.But this measure object column is also getting drilled once the Drill option is selected.I had to remove the drill optiion from the Measure object column.
    Can anyone help me on this issue...
    Thanks in advance...
    Madan Kumar

    Sushil
    Thanks for your reply. I did the date diff on the columns. It does not  break into 3 different groups. I am using a function called previous on the date column. So the report is like this
        DATE                           Pervious (DATE)                 Date - Pervious(DATE)
    01-01-2008 01:06              Null                                
    01-01-2008 01:12              01-01-2008 01:06               :06
    01-01-2008 01:18              01-01-2008 01:12               :06
    01-01-2008 01:24              01-01-2008 01:18               :06
    01-01-2008 01:30             01-01-2008 01:24              :06
    01-01-2008 01:36             01-01-2008 01:30               :06
    Basically we are breaking on the Date - Previous ( Date) column which does not work. I am not sure if there is a way to break this. I even tried it in Crystal REports XI and it does not work their either. Any help with this issue with be greatly appriciated.
    Edited by: Srinivasa Prabu on Aug 4, 2008 2:55 PM
    Edited by: Srinivasa Prabu on Aug 4, 2008 2:56 PM

  • 5- 6 Measure Objects in A Single Query

    Hi Techies,
    I want to see the consolidated value of the measure object's of my universe,
    when I place my measure objects(6) in the single query, with a conditional object and wen I run the query I am seeing an error message as no data to retrieve.
    and If I take one measure object in each query I am able to see some data, is there any reason behind this ..
    can't I proceed with single query with all my measure objects in the same query rather than many data providers for each measure object.
    Please suggest me on this
    Thanks in advance .............

    All the measure objects are coming from single table only,
    and the conditional object means we have written some condition at universe level and these objects refer to another table and there is a necessary join between these two tables...

  • Group by function in a measure object

    Hi All,
        I am trying to create a measure in universe which is the sum of ticket amount group by country. like,
    sum(Payments.Ticket_Amount) group by country name. When i place this measure in a report group footer it should display the sum to that particular group. But it is not working.
    Could anybody help me how to write a group by function to create a measure.
    Thanks,
    swati.

    Hi swati.
    You don't need to write the GROUP BY statement at the universe level.
    The universe knows that aggregate functions require group by statements and will group the aggregate measure objects by whatever dimension objects are included in the query. If you have a measure object that is not based on an aggregate but has a projection of Sum, it will only be aggregated at the report level once the data has been returned by the query.
    Measure: sum(sales_fact.value)
    Measure: sales_fact.price
    Dimension: country_dim.country
    This would generate SQL along the lines of:
    SELECT sales_fact.price, country_dim.country, sum(sales_fact.value)
    FROM sales_fact, country_dim
    WHERE sales_fact.country_key = country_dim.country_key
    GROUP BY sales_fact.price, country_dim.country
    Hope that clears it up for you.
    Regards,
    Mark

  • Sum Distinct for a measure object

    Hi,
    Can anybody let me know how to go ahead and get a sum distinct for a particular measure object in a Universe?

    If your database supports the syntax, you can simply use SUM(DISTINCT table.measure_column) and it should apply the distinct function. Note, however, that this can result in under-reporting certain values. For example, assume you have two sales orders with the same amount: $100. As long as you include the order number (or primary key order_id or otherwise) you will get a total of $200. But if you remove order number, the sum(distinct) will see two equal values (both $100) and your total will only be $100 instead of the correct answer $200.
    What is the real problem you are trying to solve?

  • How  we can restrict the Measurements in the Archtecture View

    Hi Experts,
    Ex: In the AV main Object Measurents:              Floor Area 10000 m2 
                                                                           Green Area 10000 m2
          In the subordinate Objects :                         Floor Area above 10000m2 is accepting
                                                                           Green Area above 10000 m2 is accepting
    Please guide me how and where we can restrict the measurements. 
    Thanks in advance,
    Jai

    Hi Jayakar,
    You can try this..
    As per your example,
    Create two measurement type:-
    1. A100    Floor Area
    2. A200    Green Area
    Goto  SPRO
    Architecutral View>Architecutral Object Type->Specifiy Measurement Type per Architecutral Object Type
    For Main Object assign A100 and A200 measurement types
    and For subordinate Objects  assign only A100.
    Or you need to look for BADI's

  • Ascending Order of Objects at universe Level

    Hi Techies.
    I am working on BO 3.1 Designer SP5.
    I have one Period (Month Year) object at universe level and I have arranged the order of object as Descending by editing the properties of the object.
    and when I use this object in the Query Filter section and making it as a Mandatory prompt, the values are loading in a different way rather than descending order.
    Please help me on this......
    thanks in Advance...

    Hi
    If you want to sort the LOV’s, use the  LOV’s based on custom SQL option.
    Please find the below sample code.
    Sample Code
    SELECT DISTINCT FIELD
    FROM
    TABLE
    ORDER BY 1
    And find the below link for more info.
    http://scn.sap.com/community/semantic-layer/blog/2014/06/11/how-to-sort-the-list-of-values-in-the-prompts-screen

  • Creation of object in universe to show the count in report

    Hi,
    I am trying to create an object in universe.
    I had a table called projects in which there are projectid and managers and now i want to show in report as below.
    15 PMu2019s assigned to 1-3 Projects
    10 PMu2019s assigned to 4 Projects
    20 PMu2019s assigned to > 5 Projects
    The count of managers assigned to the number of projects. Could any one pls explain in detail how i can do this in universe.
    Thanks,
    Eswar

    Hi,
    Here is the syntax:
    SELECT CAST(SUM(a.nb_Mgr) AS VARCHAR) + ' Managers: 1-2 projects' as Nb_Mgr FROM  
    (SELECT Count(distinct Manager) as nb_Mgr from ISL.dbo.Projects group by Manager having count(Project) <= 2) a
    UNION
    SELECT CAST(SUM(a.nb_Mgr) AS VARCHAR) + ' Managers: 3-5 projects' FROM  
    (SELECT Count(distinct Manager) as nb_Mgr from ISL.dbo.Projects group by Manager having count(Project) > 2 and count(Project) <= 5) a
    UNION
    SELECT CAST(SUM(a.nb_Mgr) AS VARCHAR) + ' Managers: > 5 projects' FROM  
    (SELECT Count(distinct Manager) as nb_Mgr from ISL.dbo.Projects group by Manager having count(Project) > 5) a
    By the way you can create a more sophisticated derived table that let users choosing tha values for the number of projects:
    SELECT CAST(SUM(a.nb_Mgr) AS VARCHAR) + ' Managers < ' + @Prompt('Min threshold','A',,mono,free) +  ' projects' as Nb_Mgr FROM  
    (SELECT Count(distinct Manager) as nb_Mgr from ISL.dbo.Projects group by Manager having count(Project) < @Prompt('Min threshold','N',,mono,free)) a
    UNION
    SELECT CAST(SUM(a.nb_Mgr) AS VARCHAR) + ' Managers between ' + @Prompt('Min threshold','A',,mono,free) + ' and '  + @Prompt('Max threshold','A',,mono,free) +   ' projects' FROM  
    (SELECT Count(distinct Manager) as nb_Mgr from ISL.dbo.Projects group by Manager having count(Project) >= @Prompt('Min threshold','N',,mono,free) and count(Project) <= @Prompt('Max threshold','N',,mono,free)) a
    UNION
    SELECT CAST(SUM(a.nb_Mgr) AS VARCHAR) + ' Managers > '  + @Prompt('Max threshold','A',,mono,free) +  ' projects' FROM  
    (SELECT Count(distinct Manager) as nb_Mgr from ISL.dbo.Projects group by Manager having count(Project) > @Prompt('Max threshold','N',,mono,free)) a
    Regards
    Didier

  • Access restriction for business objects in same solution

    Hi All,
    Requirement: I have one single solution with 4 modules. 1 module is common and other 3 are industry specific. When i roll it out to a customer, i what restrictions on Business Objects. So that i can roll out single or combination of modules as per requirement.
    Hence the configuration requirement would be  as follows:
       We need one core configuration for the entire solution which will have the Common Scope part included in it.
       We need industry wise configuration ( could be business configuration )
       Script level screen restriction.
    We tried creating a BAC element with Business Topic and Business Options and tried to link BO's to it.  But we are finding a problem with this solution, even a user will be able to change the configuration and get access to a module which he didn't pay for.
    Regards,
    Rudhra Udayakumar
    [email protected]

    Hello Rudhra,
    If the switches are in the BC every user with access to the BC can switch the modules on and off.
    As we do not support the interaction / referenceing between different solutions (at least not in the near future ) you need to put all you need in one solution.
    I understand that you want to make a reuse of the Common module somehow.
    My suggestion would be
    Develop the Common in a Solution Template
    Develop each industry specific in an own solution
    (Re-)Deploy the Common Solution Template to each of the industry specific solutions
    You can then sell the industry specific solution one by one and have only one development source for the Common module.
    HTH,
       Horst

  • Restricting the authorization Object for B2B Transactions

    Hi All
    we are facing the problem in the ISA b2b app, actually the scenario is as below.
    we have various transaction types like b2b sales,Peoplesoft order,Request for Order change, RMA ,Request for Quotation(RFQ) and metel order.
    As per the requirement, The client wants only a few functionalities for a particular user.
    Example:
    Transaction Type Authorization
    PeopleSoft order View only View only
    B2B:Req. OrderCh x x
    B2B: Req. RMA
    B2B: Req. Quote x x
    Metel Order x
    For b2b sales transaction a lower level employee would only be able to view the order and he should be restricted to make any changes. Is there a posibility to restrict in this manner? This is Urgent. Please respond immediately. Thanking you in anticipation.
    Message was edited by:
    Sunil Kumar

    >
    Viral741 wrote:
    > Hi All
    >
    > I have a requirement in SAP Security to restrict the authorization object S_ALV_LAYO to a particular set of users.
    >
    > Background:
    >
    > We use composite roles which is shared accross all areas(Finace,marketing,work managment).Now the requirement is for from Work managment to restrict S_ALV_LAYO so that user cant change default layout and can create user specific layout,but other areas are not ready for this.So please let me know if there is any way i can restrict this auth object only for work managment area only.
    >
    > Thanks,
    >
    > Nitesh
    Nitesh,
    Remove access to S_ALV_LAYO for general users and give access to F_IT_ALV instead.  Keep S_ALV_LAYO for the users who will be maintaining the default layout.
    Good Luck!

  • Edit LOV of objects in universes build from Bex Queries

    Hi,
    We are creating webi from universes build from Bex Queries.
    Can anyone please tell me, is there any way to edit list of values for the objects in universes coming from Bex though i can see that option for edit/display LOV is greyed out.
    for eg-- i am having a prompt calendar day at the Bex level which is coming as filter in Universe but it is not showing me the values of dates for future years rather it's showing me the till date values (means upto current date of current month).
    As per my requirement, i want all the values for the future years also(can say..wanna see calendar to select any value) so that user can select from it.
    Regards,
    Akhil

    Thanks for reply Jacques!!!
    When i see the code of object in object properties i receive a calendar for only one prompt (Key date of the query as its data type is "D") but for other prompt (Inventory 1 to inventory 11) the data type is alphanumeric "A". and i receive only till date values not a calendar to select value.
    The code is as below:
    <OPERATOR VALUE="AND"><FILTER KEY="[!V000012]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Date for Inventory 11','A','Calendar day\LovDate for Inventory 11Base',mono,primary_key)"/></CONDITION></FILTER><OPERATOR VALUE="AND"><FILTER KEY="[!V000011]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Date for Inventory 10','A','Calendar day\LovDate for Inventory 10Base',mono,primary_key)"/></CONDITION></FILTER><OPERATOR VALUE="AND"><FILTER KEY="[ZBODATE9]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Date for Inventory 9','A','Calendar day\LovDate for Inventory 9Base',mono,primary_key)"/></CONDITION></FILTER><OPERATOR VALUE="AND"><FILTER KEY="[ZBODATE8]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Date for Inventory 8','A','Calendar day\LovDate for Inventory 8Base',mono,primary_key)"/></CONDITION></FILTER><OPERATOR VALUE="AND"><FILTER KEY="[ZBODATE7]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Date for Inventory 7','A','Calendar day\LovDate for Inventory 7Base',mono,primary_key)"/></CONDITION></FILTER><OPERATOR VALUE="AND"><FILTER KEY="[ZBODATE6]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Date for Inventory 6','A','Calendar day\LovDate for Inventory 6Base',mono,primary_key)"/></CONDITION></FILTER><OPERATOR VALUE="AND"><FILTER KEY="[ZBODATE5]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Date for Inventory 5','A','Calendar day\LovDate for Inventory 5Base',mono,primary_key)"/></CONDITION></FILTER><OPERATOR VALUE="AND"><FILTER KEY="[ZBODATE4]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Date for Inventory 4','A','Calendar day\LovDate for Inventory 4Base',mono,primary_key)"/></CONDITION></FILTER><OPERATOR VALUE="AND"><FILTER KEY="[ZBODATE3]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Date for Inventory 3','A','Calendar day\LovDate for Inventory 3Base',mono,primary_key)"/></CONDITION></FILTER><OPERATOR VALUE="AND"><FILTER KEY="[ZBODATE2]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Date for Inventory 2','A','Calendar day\LovDate for Inventory 2Base',mono,primary_key)"/></CONDITION></FILTER><OPERATOR VALUE="AND"><FILTER KEY="[ZBODATE1]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Date for Inventory 1','A','Calendar day\LovDate for Inventory 1Base',mono,primary_key)"/></CONDITION></FILTER><FILTER KEY="[0P_CSDAT]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Key date of the Query (Single-Value Entry, Required)','D',,mono,free)"/></CONDITION></FILTER></OPERATOR></OPERATOR></OPERATOR></OPERATOR></OPERATOR></OPERATOR></OPERATOR></OPERATOR></OPERATOR></OPERATOR></OPERATOR>
    Can you please guide me, how to get the calendar or all the values for future date in the list for prompt (Inventory 1 to Inventory 11)
    Many thanks in advance!!!
    Regards,
    Akhil

  • Restrict HR Authorization Object PLOG By HR Structural Auth Profile

    Via OSS Note 453786, SAP requested customers not to use HR Authorization Object PLOG_CON. 
    We have a requirement to restrict HR Authorization Object PLOG by HR Structural Authorization Profiles. How are other customers able to accomplish this objective without authorization object PLOG_CON being used?
    (Custom solution:  ZPLOG_CON/custom FM, or use HRBAS00_STRUAUTH BADI)?
    Thank you,
    Ken

    Ken,
    1. the note you mentioned is specific to sap version 46b. is that the version your client is on? just wanted to check.
    2. then you have not mentioned anything about the requirement, i mean explicit details.. without which it is very difficult to come to a solution.
    3. you look like you are on the right track of thinking though with the z-auth-object/function module/badi thingy...
    4. ultimately solution is dependant on the explicit requirements.
    the 'con' bit usually refers to context sensitiveness of security when a mixture of regular and structural auths would not meet the security requirements.... so at a high level:
    1. design the structural profile with the right combo of eval path and function module(z-fm?)
    2. do the right thing by plog by explicitly mentioning levels of suths for all objects and subtypes and infotypes as well.
    3. use p_origincon to assign the structural profile
    4. a combination of all of the above should do the trick...
    good luck
    cheers

  • New object at universe designer

    Hello Gurus,
    1.Can we Create a new Object at Universe designer on top SAP BW.

    Hi ,
    Here is the MDX syntax for creating  a calculated mesure object in the universe.
    <EXPRESSION>@Select(Key Figures\Order Amount)*@Select(Key
    Figures\Order Quantity)</EXPRESSION>
    Go through the below link to know how to customize olap universe(from page#427)
    http://help.sap.com/businessobject/product_guides/boexir31SP3/en/xi31_sp3_designer_en.pdf
    Thanks,
    Pramod

  • Block level filters on measure object

    Hi,
    Wanted to know a way to suppress rows in a crosstab with all zero's
    I.e. if the measure value for a complere row is zero , it should not be shown.
    Or indirectly, how do I apply block level filter on a measure object in webi?
    I am using block level filters on dimension objects but could not find how to do this on measure object to achive what I wanted.

    Hey David Thangaraj,
    Filtering Measure objects is not possible.
    Use Alerters:
    Before creating Aleters, do sort on your Measure column.(ASC/DSC)
    1. Name Alerter
    2. Condition: Measure = 0 then <Format>
    3. Make Fore and Background same <White & White>
    4. Remove Borders
    5. Save (OK).
    Now apply this Alerter condition on toal row, means on all columns/objects there in Report/table/block.
    OR
    Select the Whole Block:
    Go to Properties:
    Uncheck : Show when empty
    and Show measures with empty values & Dimensions check boxes also. (Am not exactly remembered text)
    Hope this way you can do that.
    Gracias...!!

  • Olap universe lov restriction on detail object key

    Hi,
    I created a restriction on dimension lov in SAP olap universe using 0PLANT dimension on Orders keyfigure as below
    <EXPRESSION>(@Select(Key Figures\Orders),[0PLANT].[1000])</EXPRESSION>
    this syntax works but webi results are not matching with BEx.
    Values of BEx RKF and formula object (
    =[Orders] Where([L01 Plant] = "1000")
    )created in webi are matching.
    I am trying to create restriction on detail key object,  like
    <EXPRESSION>(@Select(Key Figures\Orders),[0PLANT].[LEVEL01].[[20PLANT]].[Value].[1000])</EXPRESSION>
    above measure is giving error when i run the webi query.
    here both L01 Plant and L01 Plant Key are having same lov as 1000,but i wanted check exact values with detail key syntax.
    Can anyone please tell me the syntax for using detail objects keys for restriction in Select Clause.
    Thanks,
    Harsha

    Hi,
    why are you not creating this as a restricted key figure in the underlying BEx Query ?
    Ingo

Maybe you are looking for