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

Similar Messages

  • 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

  • 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

  • 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

  • Adding a column in the Universe level without losing the Report Lay out

    Hi all,
    I have one universe with three universes built on it. Now, I want to add a column to one of the tables in the universe. For that, I selected the table and gave 'Refresh the structure'. The column got added in the workspace of the universe. When I drag and drop the table to the class & objects panel, it got added to the class/table in the panel. I saved and exported the universe.
    When I do like above, and open the report in the BO XI R3.1 webi front end, the report throws the following error:
    'Universe contains unresolved objects' and the report lay out is lost. All the three reports built on this universe is throwing the same error.
    Please let me know if there is any other way to retain the report lay out and add the column in the universe level.
    Thanks in advance
    - Regards,
      Arun

    Welcome to the sometimes frustrating world of working with dates against SAP BW via BusinessObjects!
    Your best bet here is to have a financial calendar table in a database and build a new query against that. Return Week Number as a detail of date and then merge the date dimensions.

  • How to create @prompt filter at universe level for my Webi reports

    Dear all,
    I am using BO XI 3.1 SP3 with SAP BW 7.0.
    I have created an open[big] query based on a multiprovider for my OLAP universe.
    OBJECTIVE: to create LOV prompts for Calender year, for my webi reports, which takes 2010 as input then offsets the input year and then shows Gross sales for the prompt year [2010], 2009 & 2008.
    ISSUE: if 2010 is selected in webi prompt filter, then it doesn't display any data for any other year, lets say gross sales for 2009.
    ALTERNATIVE: i tried to create a prompt filter in the universe with this syntax,
    <FILTER KEY="@Select(Calendar year\Calendar year).[TECH_NAME]"><CONDITION OPERATORCONDITION="InList"><CONSTANT TECH_NAME="@Prompt('Enter year','N',,Mono,Free,Not_Persistent)"/></CONDITION></FILTER>
    it worked fine. but i also want to create a measure or dimension which subtracts 1 from the above filter and return a result with a previous year.
    e.g
    PROMPT: 2010
    PROMPT-1: 2009
    Universe structure
    [TIME]                         class
      [Calender year]        class
         [Calender year]     dimension  ( type:string)
    Please guide me with correct procedure and syntax.

    masood44 ,
    I think you should just prompt for year and capture and use the selection at the webi report  level.
    say you have calendar year(convert it into numeric) prompt at webi level. say user selects 2010 capture it in a variable var1:userresponse('enter year'). then create a variABLE (var2)  with formula :
    if(isPromptAnswered('enter year')='yes';([year] where year inlist(var1;var1-1;var1-2);null)
    build your report with var2 and gross income
    Thanks,
    Karthik
    Edited by: kbharadwaj79 on Jun 2, 2011 5:34 PM

  • Webi 3.1 - Making Webi Prompts appear on top of the Universe Prompts

    Hi,
    I have a report which uses some of the objects that are coded with @Prompt code  ( CPrmp1, FPrmp2, APrmp3 ...) at the universe level as well as some of the Webi prompts like a dimension Name is dragged into the query filter and is of type prompt.
    When the report is run the prompts appear in the below order -
    APrmp3
    CPrmp1
    FPrmp2
    Name        ( --- > Webi report filter  )
    Also as above the universe level prompts appear in the alphabetically order, but I do not want them to appear in aplhabetically order.
    I want the Name filter to appear first and then all the Universe level prompts below it in the below order -
    Name
    CPrmp1
    FPrmp2
    APrmp3
    Any inputs are appreciated
    Also when the report is open in the web mode i.e html, how can I make the Prompts appear on the left tab, like the Input Controls. I can see the Prompt on the left tab, but if opened on a collegues IE it does not appear and we have to select the Prompt option at the bottom from among the various options. So its there anyy specific setting, I am missing here .
    Thanks for the input's.
    Dipti

    Let meexplain you whole scenario.:
    Refer below snapshot:
    Here i placed report level prompt at the top.
    And once you run this report:
    Ordering has been changed in the report because always  it will take universe prompts first and then report level prompt.
    Resolution : As i meantioned earlier , create two different query in the report.
    Regards,
    Pranay

  • OpenDocument syntax with UserResponse  at universe level

    HI,
    Can any one tell me what is missing or wrong in the following syntax of Open Document. I am using this at the universe level with user response and two parameters.
    '<a href="../../opendoc/openDocument.jsp?sDocName=abc&sType=wid&sWindow=New&sRefresh=Y&lsSName:="UserResponse("Select Name:")l"&lsSID:='+dbo.EMPLOYEE ' ">'@Select(Employee Working days view\Employee_Name_ID)+'</a>'
    Thanks!!!!
    Bernard.

    Hi Bernard,
      UserResponse is for WEBI reports, in universe the formula is prompt.
      Where clause = <FILTER KEY=u201D[MyVar]u201D>
    <CONDITION OPERATORCONDITION="InList">
    <CONSTANT NAME="@Prompt('Hierarchy node values','A','Sales
    employee\LovHierNodeL03 Sales employeeBase',multi,constrained)"/>
    </CONDITION>
    </FILTER>
    I replace in your syntax the UserResponse for @Prompt
    '<a href="../../opendoc/openDocument.jsp?sDocName=abc&sType=wid&sWindow=New&sRefresh=Y&lsSName:="@Prompt('Select Name:','A',{'NAME1','NAME2','NAME3','NAMEn'},mono,constrained)]l"&lsSID:='+dbo.EMPLOYEE ' ">'@Select(Employee Working days view\Employee_Name_ID)+''
      This is an exaple of MDX for SAP BI, Choose a dimension among the different u201Ctimeu201D dimensions available in a SAP Netweaver infocube.
    0CAL@Prompt('CalendarLevel?','N',{'YEAR','QUARTER','MONTH','DAY'},mono,constrained).[[LEVEL01]]
    I hope this help you.
      Federico.
    Edited by: Federico Sperling on May 11, 2009 4:39 PM
    Edited by: Federico Sperling on May 11, 2009 4:39 PM

  • Creation of Stand Alone prompt in OLAP universe

    Hi,
    I am creating a webi report from universe build from Bex query.
    I have to catch a user response so i am creating a stand alone prompt in the universe but when i am parsing it, it's giving error.
    <FILTER KEY="[Level Object definition]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT Level Attribute="@Prompt('Enter A Value','N',,,)"></CONSTANT></CONDITION></FILTER>
    The code is as above.
    Since this user response function doesn't refer to any dimension/key figure, hav to jus get the values from user as 1,2,3
    Pls Help.
    Regards,
    Akhil

    Hi,
    the Key value is not correct in your syntax - you would have to have some technical name there.
    take a look at some examples:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0a45246-ce76-2b10-e688-f5c8206203eb
    ingo

  • FROM - TO Dates passed from prompt into the Title of the WEBi report

    What is the right approach to pass two reporting period dates (FROM /TO) from user's input into the Title(Header) of the Universe based WEBi report, like "Tickets submitted from:MM-DD-YY to:MM-DD-YY"
    Maybe this is trivial but it is easier to do in CR and I am not sure how to do it using Universe objects.
    These are my first steps in building real production Universe.
    Thanks in advance!
    Alex

    i dunn know if i understand you well, but it seems like you want to pass 2 dates (from, to) to some report and to have those 2 dates in the report title.
    its too easy, first at the universe level you have to have a Date objects, which comes in the time dimension.
    when you create a report usin Webi, just drag this Objects to the query filter and make the operator "between" and make both of them "prompt"
    give two texts to the prompts lets say "From Date" and "To Date",,,, and run the report.
    at the report design mode there is a function called "UserResponse"
    in the report title text add this =userresponse("From Date")
    you can modify the text as you require.
    good luck
    Amr

  • Group at Universe level

    Hi,
    How do I group on a field at the Universe level?  I created a derived table in the Universe and need to group by a database (SQL) field.  I added ORDER BY clause and the field name at the end of my select and it throws errors when I parse.  Please advise.  Thanks in advance for the help!

    What is the exact error you get?     Exception: DBD, [Microsoft][ODBC SQL Server Driver][SQL Server]Statement(s) could not be prepared.State:42000
    Which kind of database do you fetch data from? SQL DB
    Is it possible to post the SQL statement of the derived table here? I changed the table, database name, and field names as an example, and the select parses ok - it's when I added the Order by clause.
    SELECT TestTable1.number, TestTable1.open_date,
    TestTable1.completed_date,
    TestTable1.level,
    TestTable1.group,
    TestTable1.description,
    TestTable1.region,
    TestTable2.type,
    TestTable2.update_date,
    TestTable2.update_desc,
    TestTable2.ID
    FROM   Test.dbo.TestTable2 TestTable2 INNER JOIN Test.dbo.TestTable1 TestTable1 ON TestTable2.number=TestTable1.number
    WHERE
    (TestTable2.update_date>=DATEADD(mm,DATEDIFF(mm,0,getdate())-1,0))  AND TestTable2.update_date<DATEADD(mm,0,DATEADD(mm,DATEDIFF(mm,0,getdate()),0))

  • 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

  • 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 create default MTD,YTD prompts at universe level.

    I want to create default prompts for mtd and ytd at universe side.
    Please  help me on this issue.

    Hi
    If the universe source is bex query, as per the best practice you can define all Predefined Time Periods like,
    LY        Last Year
    MTD     Month To Date
    YTD      Year To Date
    MTG     Month To Go
    at the Bex query level. so complexity will be decreased while developing the universe  and performance also increase.

  • Universe level Prompts

    Hi,
    I was created Universe level Prompts like below.
    Example: Date Between @Prompt(Sysdate) and @Prompt(Sysdate-60)
    I was created one report by using Date object which is having prompts and in the report properties i have checked REFRESH ON OPEN.
    when i tried to open report, report is refreshing fine and giving data correctly when i click on refresh in prompt window by selecting the values.
    But i want the report to be opened and refreshed without asking prompt window to select the values. Because always iam selecting Current date (28-06-2010) and Current Date-60 (EX: 28-04-2010) values.
    Please help me out.
    Thanks in Advance
    SureshBabu

    Although there is always more than one way to skin a cat , I do not recommend to allow user to input the value. There will be format error or typo error that keep the report from returning data, or worse, return an error message.
    In the software development world, you should always have code to handle all possible situation. This is true in the report development world as well. You want to control every situation as much as possible. To avoid user error, the date prompt should always be an LOV (list of value). You can create LOV for daily dates, or weekly dates, or monthly dates, and so on.
    If your prompt should always start with today's date as the report ending date, you can still create an LOV that defaults to today's date. But this gives the user the flexibility to choose yesterday's date or last week's date as report ending date, just in case they want to. Then you can calculate a rolling 60 days (backward) without the unnecessary second prompt for the report starting date. That is the best way to handle date prompt.
    Hope this helps.

Maybe you are looking for