Max function in universe level

Hi everyone,
I have created webi report on universe with back-end as oracle 10g. I have a column which contains no of days (i.e contains 1,2,3,4... 365 days) which i have converted into 0-10,10-20, 20-30 and  > 30 days columns.
I am using cross tab with row contains module (such as MM,PP,SD etc.) and columns i already mention above.Below the column , i have placed one measure with count function. (Which count no of tickets open in 0-10 ,10-20,20-30 and >30 days).
Suppose if  3 tickets are open in > 30 days column. then how to calculate the maximum no of days ticket is open. I tried ,but i didn't get solution. Waiting for your reply.
Thanks and Regards,
Anish

hi Anish,
I think following is the output in your Crosstab
     0-10 | 10-20 | 20-30 | >30 |
MM     3          1       1     4
PP     2          0       7     5
for example, crosstab indicates that "MM" module has 3 tickets which are open between 0-10 Days
Here 3 indicates no. of tickets.
So, now where do you want to show the maximum number of days ticket is open?
Please elaborate on your requirement.
Regards,
Vamsee

Similar Messages

  • How To Capture The Inputs given for a Filter Defined at Universe Level

    Hi ,
    I have a conditional filter defined at Universe level
    Wen this is used for Running Query using web Intelligence, It is asking for a prompt. That is cool and fine
    Now my Question is that , I was unable to capture the prompt value being passed while running the Query .
    For this object I am passing the values at universe Designer(3.1 SP5)
    I would like to capture those prompts, I am not getting the same when I use UserResponse Function
    Please Help me on this
    Thanks in Advance

    Hi
    To capture the prompts values entered at query run time.
    =UserResponse( "Prompt Text") Like ("Enter Values for Sales ID")
    Will give the prompt entered value.
    =PromptSummary()
    Will give the list of prompts entered at Query run time.
    Pleaas find the below link.
    http://bobjblog.wordpress.com/tag/userresponse/
    http://help.sap.com/businessobject/product_guides/boexir4/en/xi4sp5_ffc_en.pdf

  • How to Define a Required Prompt at the Universe Level

    Apologies if this has already been covered somewhere... I searched and can't find the topic covered yet.
    I've been under the impression for a long time that one could configure a Universe such that it would require a prompt on a dimension whenever that Universe was run, regardless of the tool or report.  For example, you could configure an eFashion Universe such that any report or analysis built against it (Webi, Crustal, Design Studio, Lumira, PowerQuery... whatever) would trigger a prompt, perhaps on Year or State.  The idea is that at the Universe you could prevent developers and self-service users from building "Select All" reports.
    However, even with the use of LOV flags in the Data Foundation and Business Layer (e.g. "Force users to filter values before use"), I can't figure out how to make it work.
    So, I have two questions...
    Is it possible to include required prompts/filters in the Universe definition?
    If so, how?
    Thanks,
    Josh

    Hi...
    Is it possible to include required prompts/filters in the Universe definition?
    Yes..it’s possible to include prompts at universe level,
    If all the reports are using same prompts, you can create at universe level and use same prompt in all the reports. You can define mandatory or optional prompt.
    Following is the syntax for the function.
    @Prompt('message','type',[lov],Mono|Multi,free|constrained|primary_key,persistent|not_persistent,[default_values])
    The following are simple examples of @Prompt syntax.
    Minimal use of the @Prompt function:
    @Prompt('Displayed text ','A',,,)
    Using the @Prompt with a LOV without default values:
    @Prompt('Displayed text ','A',{'Paris','London','Madrid'},,)
    Using the @Prompt with a LOV and one default value:
    @Prompt('Displayed text ','A',{'Paris','London','Madrid'},,,,{'Paris'})
    2 : If so, how?
    In the condition's SELECT or WHERE field, right-click at the place in the expression where you wantto add a prompt and
              select @Prompt editor from the shortcut menu.
    In the Message box, type the message that you want the user to see.
    Select Keep last value selected if you want the prompt to propose the values used for the previousreport.When the report is run for the first time, the default values (if any) are proposed.
    Select Allow multiple selection if the user can enter or select more than one value.
    Set the Selection mode. For Free selection, the user can enter any allowed value. For Constrainedselection, the user must select a value from a list of values. For Primary key, the user selects theobject name, but the object's primary key is used by the query. You can only use the Primary keysetting if Index Awareness is set.
    Note:
    When the Constrained option is selected and a List of Values is not specified, the corresponding Tab color turns to red, OK button is disabled, and on moving the cursor over the highlighted tab, the contextual tooltip displays a message indicating how to rectify the problem.
    Set the Value type for the selection mode: Alphanumeric, Number, or Date.
    If you have selected Primary key for the selection mode, set the Key type: Alphanumeric, Number,or Date.
    If you are using multiple selection, define the list of values. Do one of the following: you can type orimport a list of values, or you can select a universe object.
    Click the Default Values tab and define any default values. When you allow multiple selection, youcan set more than one default value.
    Click OK.
    The "@Prompt" editor closes and the prompt expression is visible in the condition's statement in the "Edit Properties" pane.
    Validate the prompt and click Parse.When the syntax is
    http://business-objects-xi.blogspot.in/2009/06/prompt.html

  • How to create Current Year Filter at Universe Level ?

    Hi,
    I want to create a Current Year, Next Year and Last Year filters at Universe Level.
    Can anyone help me with this.
    I am using Netezza database and not able to find the appropriate date function in Netezza to accomplish this.
    Any suggestions ?
    Thanks

    Hi,
    You would somehow need to extract the Year part from the system date..
    then
    Current Year = Year
    Next Year would be i.e Current Year + 1
    Last Year would be i.e Current Year - 1
    I guess this is the simple part... but you would need to find those functions on your RDBMS..
    Hope this helps
    Jacques

  • Controlling data access at universe level

    Hi,
    I had a doubt in universe regarding the implementation of security.
    Existing process: We had a portal called flex (intranet site)which the BO report has been integrated and  for opening the report the name of report was clicked (hyperlink) 
    This report should show the data specific to the user profile logged into the portal.
    Now if we want to restrict the data at universe level for each individual users accessing the report in portal our idea is to create a dervied table (which contains a list of userid's and project id's)in universe so that who ever logged into the portal and clicks on report he will see the data only related to profile
    For example: The scenario would be a manager residing in a region need to see the list of projects which he is assigned to but not all of them.
    Could you please let me know how can implement at universe. Kindly let me know if you need any futher information.
    Thanks,
    Eswar

    Another way to do this is: (a) in your universe create a table that has a list of user names a long with their BOUSER id; (b) associate that list with fact tables or d imensions in the database, either using joins or by using a where clause as a filter or in an object definition using the syntax @variable(bouser); below is an exerpt from BO Designer guide.
    Example:
    @Variable
    In the universe for a human resources database, you have an object called
    Employee name. You want to restrict the returned data for Employee name
    to the values authorized in the database for each user. This would allow
    you to control what employee information each user is allowed to see. This
    information is defined by their database profile.
    You insert the @Variable function in the WHERE clause as follows:
    Employees.Employee_Name = @Variable('BOUSER')
    When the object Employee name is used in a query, the data is returned

  • Parsing Issue at Universe Level

    Dear All,
    I am a BO Consultant, for the past few months we (our report developing team) were trying to create new objects at the Universe level (based on requirement) so that we can use the same in the report level, but unfortunately we failed to do the same.
    Actually we are struggling in this case. Every time when we try to create an object with function specified at the Universe level its coming up with errors like this expression is not parsed etc.
    We are using,
    1. SAP BI 7.0 with DB2
    2. SAP BO XI 3.1 Edge
    3. Universe Version 12.3.0 and Build 601
    Universe on top of BW Cubes have any limitations??????????
    Please help us with a solution.
    Regards,
    Arun Krishnan.G
    SAP BO Consultant

    Hi,
    It all depends what your syntax is, and what you are trying to do.
    Also, I would not trust the Parser too much in OLAP BAPI universes.. 
    Here is an SDN guide about OLAP universes and some examples of XML markup required for predefined filters for MDX scenarios.
    [http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/c0a45246-ce76-2b10-e688-f5c8206203eb?quicklink=index&overridelayout=true]
    Regards,
    H

  • DateTime issue at Universe Level

    Hello Experts,
    We have stored date in database as datetime format. In Universe, we have created object on this date. But we have to keep type of this objet as u2018Dateu2019 as there is no datetime  object type available  in universe.
    When we dragged this objet in webi, we found that we are getting only date but no timestamp. We can manually do this using report formatting. However we would like to achive this at universe level.
    My question is : What should be the type of object in universe for getting datetime at report level ?
    We found that, if we keep objet type as char, we may get the desired results. However is there any other alternative?
    Regards,
    Chinmay

    Hi,
    Use the Function Convert to convert into datetime format in the Universe object level.
    Syntax:
    convert(datetime,field_name,101)
    Regards,
    Shiva Kumar G.C

  • Use of MAX function

    Hi,
    I am using parent-child hierarchy and in my reports I want to show Max(hierarchy_level). When I use the function MAX directly in the report it works fine in every way. But I want to have this kind of column in the BI Server presentation catalog so the user does not need to add MAX in Analysis/Answers (this is 11g). Normally this would imply a Max(hierarchy_level) as a logical function, but in the BI Server it is not allowed with MAX function in the logical function so it does not work.
    The hierarchy level is just a column from a dimension table and creating it as a fact column is not a very good solution. I also tried to solve this in many different ways, but only the MAX funtion in Analysis/Answers allways give the correct result. Used in combination with other dimensions etc. I want the exact same behaviour as I get when using MAX in analysis.
    Any good ideas to solve this? Is there another function in the BI Server that works the same way as MAX ?

    Very often, about a primary key, see for example our italian accounting application (our VAT invoices:fatture IVA) ), where the holes might be a problem.
    Yes Rosario, of course I know that, and that's why I said "in this scenario" : if primary key is the only purpose, I don't think holes could be a problem.
    Buona giornata anche a te.

  • Max Function in @Prompt

    Hi,
    We have a week dimension in our Cal table. The user wants to use a condition where if he will enter week number (for eg: 13-2009) then data of that particular week should be displayed and if he will enter ' * ' then data of last week in the table will be displayed.
    To fetch the last week we can use max(cal.week). But how to use it in prompt? Because when I am using max function then getting an error that group functions are not supported in prompt. Below is the prompt condition I am using:
    CAL.WEEK IN (decode(@Prompt('Enter week (or * for last week)', 'A',, MONO,FREE),'*',(MAX(CAL.WEEK)),@Prompt('Enter week (or * for last week)', 'A',, MONO,FREE)))
    I tried it by creating an object for MAX(CAL.WEEK) and then tried to use it in prompt, but since prompt doesnot support it, this object was not visible in the object list while creating the prompt.
    Please help.
    Thanks,
    Kirti

    The problem you are facing is that a condition containing a grouping function belongs in the having close, not in the where...
    There is no way to create something in the universe that will be put in the having clause.
    So what you need is to put it in as subselect, which can go in the where.
    Try the predefined filter like this...
    (CAL.WEEK = @Prompt('Enter week (or * for last week)', 'A',, MONO,FREE)
    OR (@Prompt('Enter week (or * for last week)', 'A',, MONO,FREE)='*'
       AND CAL.WEEK=(SELECT max(C2.WEEK) FROM CAL C2)))
    Do not forget the brackets around the two conditions with OR
    Good luck,
    Marianne

  • AdvancedDataGrid Summary Row Max Function

    I am trying to mix summary function within an advanced data grid.   I'm trying to use the SUM function at the highest grouping level (Southwest).  And a MAX function at the sub regional level (Arizona, Central California, etc).    I want the SUM function at the Southwest level to add the results of the MAX functions from the sub regional level.   Is this possible?

    You can do something like this in order to get SUM function
    <!--  The grid -->
        <mx:AdvancedDataGrid  id="adg"
                width="100%" height="100%">
            <!-- Define grouping in dataProvider  -->
            <mx:dataProvider>
                <!-- Convert flat data to group  -->
                <mx:GroupingCollection  id="gc"
                        source="{svc.getOrders.lastResult}">
                    <mx:Grouping>
                        <!-- First group by customer -->
                        <mx:GroupingField name="CUSTOMER">
                            <!-- Calculate total per customer  -->
                            <mx:SummaryRow summaryPlacement="group">
                                <mx:fields>
                                    <mx:SummaryField dataField="PRICE"
                                                    operation="SUM"
                                                    label="Total"/>
                                </mx:fields>
                            </mx:SummaryRow>
                        </mx:GroupingField>
                        <!-- Then group by orderid -->
                        <mx:GroupingField name="ORDERID">
                            <!-- Calculate total per orderid  -->
                            <mx:SummaryRow summaryPlacement="group">
                                <mx:fields>
                                    <mx:SummaryField dataField="PRICE"
                                                    operation="SUM"
                                                    label="Total"/>
                                </mx:fields>
                            </mx:SummaryRow>
                        </mx:GroupingField>
                    </mx:Grouping>
                </mx:GroupingCollection>
            </mx:dataProvider>
            <!-- The grid columns-->
            <mx:columns>
                <!-- Empty colume for tree -->
                <mx:AdvancedDataGridColumn />
                <!-- Query columns -->
                <mx:AdvancedDataGridColumn  dataField="CUSTOMER"
                    headerText="Customer" />
                <mx:AdvancedDataGridColumn  dataField="ORDERID"
                    headerText="Order"/>
                <mx:AdvancedDataGridColumn  dataField="ARTNAME"
                    headerText="Item" />
                <mx:AdvancedDataGridColumn  dataField="PRICE"
                    headerText="Price" textAlign="right" />
                <!-- Column for calculated totals  -->
                <mx:AdvancedDataGridColumn  dataField="Total"
                    headerText="Total" textAlign="right" />
            </mx:columns>
        </mx:AdvancedDataGrid>

  • To restrict a object to a particular Group at the Universe level

    Hi,
    I have a object which should be restricted only to a particular group at the universe level.So when i define the universe we have to have explicit security that will restrict access to this object information from reports and from ad-hoc queries.I should restrict the object only to the particular group by a role based security.
    Please help me out in this case.
    Thanks in advance,
    Madan

    Hi Madan,
    Please follow the below steps:
    (In Designer)
    1) Open Island Resort Marketing universe or any universe in Designer.
    2) Goto Tools -> Manage security -> Manage Access Restrictions.
    3) Click on New option - > Give the Restriction name - >click on Rows tab - > Click on Add button (New Row Restriction window comes) -> give table name For example:"Resort_Country" in the Table text box, under the Where Clause "Resort_Country.COUNTRY = @Prompt ('Which country?u2019,u2019 A',, MONO,FREE)"-> Click OK -> Click Ok.
    4) Click on Add user or group - >Select the user ->Ok.
    5) Click on Apply -> Click OK.
    6) Save the universe and export it into the repository.
    7) Cretae the new report (webi/deski) from the user the one who belongs from this group.
    Hope above steps will helps you.
    Regards,
    Deepti Bajpai

  • Changing Prompt Order of Prompts defined at the universe level

    Hi All,
    I need to change the order of the prompts defined at the universe level.By default they appear in alphabetical order.
    Thanks,
    Shweta.

    Hi Shweta,
    If you are on XI R2 then you can try the following extended syntax for the prompt definition:
    @Prompt('Region', 'A', 'Class\Object Name', multi,free,,,User:0)
    @Prompt('Area', 'A', 'Class\Object Name', multi,free,,,User:1) ...etc
    Else there is no other way to sort the prompt in the desired order. Either you have to prefix the prompt text with numbers
    or alphabets.
    Regards,
    Rohit

  • Qualifying Prompt at the Universe level

    Hi
    I wanted to know whether it is possible to create a qualifying prompt at the universe level:
    The first prompt will be u2018Select a Timeframeu2019 which will prompt user to select one out of following values
    u2018Select Dateu2019 (multi select), u2018Select Weeku2019 (Multi select) and u2018Select Periodu2019 (Multi select). When user selects  say any one value like u2018select Weeku2019 value , he will be give the Values for the Week number concenated with Week End Date. On selecting one or more values, the data for selected week numbers will be given. Same for u2018Select Dateu2019 where he can select Multiple Dates and select Period where he can select multiple periods.
    Please let me know if there is any solution for this issue as this is a very high priority form my cleints.
    Any help is highly appreiciated.

    Do you users expect a fixed number of possible values in the 2nd selection level regardless which of the 3 selections was done on the 1st level (week, date, period)? Or should they be able to type in in the 2nd level their own values also at least for some of the 1st level selections (eg. period)?
    Which database do you use?
    Regards,
    Stratos

  • Conversion data type error at universe level

    Hi Friends,
    I am trying to convert a object datatype from number to char by using cast function in Universe Designer. I am getting bellow error. Help me on this.
    Thanks
    Riaz

    Hi,
    Try changing the data type of the object at business layer by selecting the related object instead of changing the data type at data foundation layer.
    Hope it helps.
    Grtz
    -Anila.

  • Implement Chasm & Fan Trap at Universe level

    Hi All,
    Could anyone provide me some idea about 'how to implement Chasm & Fan Trap at Universe' practically??
    Thanks for ur time & help.
    Regards,

    Hi
    We cannot specify the real time scenarios here, search the SDN, forumtopic and many other site... there are lot of posts on that and solutions for that.
    for a quick glance
    These will occur at universe level while joining the tables.
    chasm trap :  The Chasm trap occurs when 2 u201Cmany-to-oneu201D joins converge on a single table, which has not been resolved by any context. The most common problem caused by a chasm trap is fetching more data than expected.
    Fan Trap:A Fan Trap is a join between 3 tables where a one-to-many join links the first table to the second and another one-to-many join links the second table to the third. Inflated results are obtained when fields from all 3 tables are included in the query.
    go trough these urls  it may help you out
    http://www.forumtopics.com/busobj/viewtopic.php?t=174405&sid=b10e205712fb102dae312173957b19f2
    http://davidlai101.com/blog/2008/11/18/preventing-chasm-and-fan-traps/
    http://biguru.wordpress.com/2008/05/01/its-all-in-the-universe-handling-chasm-and-fan-traps/
    Hope this will help you!!!!!!!!!!!
    Regards,
    Rajesh

Maybe you are looking for

  • Error in generation of Account Document

    Hi, During Order Related billing, there is an error, no accounting document is generated. The error that is appearing is " Balance in transaction currency " Message no. F5702 Exchange rate '00', amount '        10,800.00-' and currency key 'INR'. The

  • Do I need to partition my external (backup) HD?

    I have several iMovie folders on my internal HD that I want to remove from my internal HD (80GB) & put on my external HD (200GB). The problem is, I use SuperDuper! to do backups. As you all know, SD! makes the ext. HD, or backup HD, a clone of the in

  • Adobe not opening

    When opening a pdf I get this message: "Adobe Reader has encountered a problem and needs to close. We are sorry for the inconvenience" I have tried uninstalling and re-installing Adobe without success.  Can you help me?

  • Does anyone know how to add Audio to iBooks Author and Loop it continuously

    I need to Loop a 2 second piece of audio in iBooks Author.  When I Preview it on my iPad it doesn't Loop correctly.  Can anyone please help me with this strange problem. Thanks in advance.  David

  • SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.S") not parsing as expected

    The date I am getting back when parsing with SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.S") seems wrong. I get the following output when I run the sample code below. I would expect the time to be 13:37:24 not 13:50:41. Thanks Tue Jul 28 13:50:41 EDT 200