Marketing Segmentation, Edit Column Formula in Criteria Block

Hello!
I want to edit Column Formula in Criteria Block after creating some filters in my segmet.
For example, i can change "x>3" to "x + y > 3".
But I have two problems:
1) I can't select fiels in left panel when edit column formula - only typing. In Answers I can!
2) I can't write more difficult expression, for example With case, ifnull e.t.c. - in this case OBIEE ignore functions.
Thanks!

Hi,
did u included any case condition over there..kinly check the syntax and correct it.
Thanks
Deva

Similar Messages

  • Selecting Multiple Columns in Segment's Column Formula of BIEE Marketing

    Hi all,
    in BIEE 10.1.3.3.1 Marketing Tool we are having problems creating a segment.
    We need the possibility to create a segment filter that contains for example the sum of two different columns ( Num SMS 1 month ago + Num SMS 2 months ago > 100).
    In the "Edit Column Formula Window" the user would like to add the columns from the left panel (like it is suggested in the edit column formula) but this seems to not work, instead when a column is selected a new "Create/Edit Filter" window pops up, therefore the selected column is not inserted in the "Edit Column Formula". We have also tried selecting the "Columns" button but no columns appear ("None").
    We have a work around to this but we can only do it by editing the column formula and adding manually the 2nd column and this is not very user-friendly.
    Does anybody have any suggestions?
    Thank you in advance for your help

    Hi all,
    in BIEE 10.1.3.3.1 Marketing Tool we are having problems creating a segment.
    We need the possibility to create a segment filter that contains for example the sum of two different columns ( Num SMS 1 month ago + Num SMS 2 months ago > 100).
    In the "Edit Column Formula Window" the user would like to add the columns from the left panel (like it is suggested in the edit column formula) but this seems to not work, instead when a column is selected a new "Create/Edit Filter" window pops up, therefore the selected column is not inserted in the "Edit Column Formula". We have also tried selecting the "Columns" button but no columns appear ("None").
    We have a work around to this but we can only do it by editing the column formula and adding manually the 2nd column and this is not very user-friendly.
    Does anybody have any suggestions?
    Thank you in advance for your help

  • Difference between aggregation rule and column formula in edit formula

    Anybody please help what is the use of aggregation rule and column formula in edit column option.
    What is the difference if I apply sum in aggregation rule with apply sum(column name) in column formula.
    When do I need use which one.
    Thanks in advance

    When you build a column in the rpd, you have the option of determining if the column should be aggregated in some way or not. For dimension columns, you wouldn't put aggregation. For say, an accoun ledger balance column, you might put the aggregation SUM or AVERAGE. Whatever aggregation you put on this column will be the "default" aggregation of the column in Answers.
    So in Answerrs, if you use the Account Ledger Balance column and you only have Region as the dimension, OBIEE will aggregate or SUM the ledger balances so you have a SUM for the region level. If you had district, than the ledger balance column will aggregate to the district level. This is a convenient way to build reports without having to specify what the aggregation should be.
    However, OBIEE gives you the ability to override what the default aggregation is for a particular column. This is the purpose of the drop down in the bottom left of a column when you click the fx button.
    Say the default aggregation of ledger balance is SUM in the rpd, but for the report you are building, you want the average, you can apply the AVERAGE function in the fx window and it will overridge the SUM aggregation rule that was in the rpd.
    Got it?

  • Can I use to_date() function in Answers Criteria Column Formula

    Hello.
    A simplified example of what I'd like to achieve in a column formula -
    year(to_date('1954-11-06', 'YYYY-MM-DD'))OBI tells me this is a syntax error.
    Alternatively, I tried this -
    year(cast('11/6/1954' as DATE))This gets past the syntax check, but results in "unhandled user-defined exception ORA-06512".
    Any suggestions appreciated.
    Thank you.
    -cs

    Here it is -
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 6510, message: ORA-06510: PL/SQL: unhandled user-defined exception ORA-06512: at "APPS.APP_SESSION", line 313 at OCI call OCIStmtExecute: call /* 191215240 */ APP_SESSION.validate_icx_session('ScAGT-sNOLfHYfB6RveHGAiw:S') . [nQSError: 17011] SQL statement execution failed. (HY000)
    SQL Issued: SELECT "- Nx_CSDG0_Repair_Orders (Depot Repair Views)".Repair_Number saw_0, "- Nx_CSDG0_Repair_Orders (Depot Repair Views)".Item_Description saw_1, "- Nx_CSDG0_Repair_Orders (Depot Repair Views)".Repair_Order_Creation_Date saw_2, "- Nx_CSDG0_Repair_Orders (Depot Repair Views)".Repair_Order_Closed_Date saw_3, year(cast('11/6/1954' as DATE)) saw_4, case when (MONTH("- Nx_CSDG0_Repair_Orders (Depot Repair Views)".Repair_Order_Creation_Date) < 8) and (MONTH("- Nx_CSDG0_Repair_Orders (Depot Repair Views)".Repair_Order_Closed_Date) > 8) then 1 else 0 end saw_5 FROM "[Noetix-NoetixGlobalRepository] NoetixViews for Oracle Service" WHERE "- Nx_CSDG0_Repair_Orders (Depot Repair Views)".Repair_Number IN ('319317', '325405') ORDER BY saw_0, saw_1, saw_2, saw_3, saw_4, saw_5

  • Error while passing prompt value in Column Formula

    Hi All,
    I have created a dashboard and added a dashboard prompt on that with a presentation variable named "promptdyn" that is basically showing bank names.
    Now i want to calculate the market value based on this prompt selection, so i edited the column formula as
    "WM FACT Sec"."MARKET VALUE" * EVALUATE('getBankBaseCurrencyValue(%2)' As Double,@{promptdyn},"Industry Type".INSTRUMENT_CCY)
    But it is throwing this error:
    \nQSError: 10058] A general error has occurred.
    \nQSError: 22051] The argument number 1 is not referenced in this evaluate expression: getBankBaseCurrencyValue(%2). (HY000)
    SQL Issued: SELECT "Industry Type".INDUSTRY_NAME, "Industry Type".INDUSTRY_TYPE, "WM FACT Sec"."MARKET VALUE" * EVALUATE('getBankBaseCurrencyValue(%2)' As Double,0,"Industry Type".INSTRUMENT_CCY) FROM WMAdHocReportingBMMSec
    I don't know what is wrong here.Here i tried to pass the value of the prompt to the function.
    Basically I have created a function in the database with two parameter as "bank name " and "Currency" and calling it with the help of evaluate function.
    How could we store the prompt value and pass it to some other function?
    Pls help me as it is urgent for me to solve.
    Thanks

    He Solved.
    Just i missed out to write %1,%2 in the evaluate function.
    But one thing i need to know that how can we store the value that is selected in a prompt say in dashboard prompt so that it can be used in query. Because i need to select a value first from the prompt and based on that i need to manipulate the values of the other request of the dashboard.
    Please Reply.
    Thanks

  • Column Formula with Error in OBIEE 11g

    Hello,
    On Oracle Business Intelligence Enterprise Edition 11g, I am trying to create an analysis. The database is MySQL. In the database, there is a field of type varchar(10). This
    field shows a date. In OBIEE 11g, when creating the analysis, in the Criteria tab, I choose this column (varchar) and edit the formula of it. The operation that I want to do is:
    YEAR(CURRENT_DATE) - SUBSTRING("TableName"."ColumnName" FROM 1 FOR 4) where the ColumnName is the name of the column of type varchar(10)
    but I get an error: +[nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 27002] Near <->: Syntax error [nQSError: 26012]+
    If I execute the same query directly on the MySQL database, I get the desired result without any error.
    Also, if I use the following formula, I also get an error:
    CAST((SUBSTRING("TableName"."ColumnName" FROM 1 FOR 4)) AS INTEGER)
    So, I am asking why the first query throws an error in OBIEE 11g but not when it runs directly on the MySQL database. Also, how can I convert in OBIEE 11g a string to integer?
    Thank you in advance,
    Griselda

    Business Intelligence Foundation wrote:
    Hi
    Im getting below error in Bi11g. core application services is down.
    Error:
    [nQSError: 46066] Operation cancelled.
    [nQSError: 46067] Queue has been shut down. No more operations will be accepted.
    If anyone Know tell me.
    Thanks and Regards
    sathyaHi sathya,
    It could mean several different things. Do you know if the administrator have shut down the services? If you have access to the server, check to see if all the services are up and running.
    Thanks,
    -Amith.

  • Error in Column Formula

    Hi All,
    I have to change the market value to a specific base currency. But i need to take the values from the FX_Rate table where we are storing current forex rates.
    I have edited the column formula of Market_value as:
    CASE "Currency".INSTRUMENT_CCY
    WHEN 'INR' THEN ("Currency".MARKET_VALUE*0.025471) ELSE "Currency".MARKET_VALUE END
    Then it works.
    But when i am trying to provide the formula that is retrieving the value from the Fx_Rate then it throws error.
    I have written a formula like this:
    CASE "Currency".INSTRUMENT_CCY WHEN 'INR' THEN ("Currency".MARKET_VALUE*(SELECT "FX_RATE".RATE FROM "FX_RATE" WHERE "FX_RATE".CCY='INR' AND "FX_RATE".CCY2='USD' ))
    ELSE "Currency".MARKET_VALUE END
    ERROR:
    \nQSError: 10058] A general error has occurred. \nQSError: 27002] Near <SELECT>: Syntax error \nQSError: 26012] . (HY000)
    SQL Issued: SELECT CASE "Currency".INSTRUMENT_CCY WHEN 'INR' THEN ("Currency".MARKET_VALUE*(SELECT "FX_RATE".RATE FROM "FX_RATE" WHERE "FX_RATE".CCY='INR' AND "FX_RATE".CCY2='USD' )) ELSE "Currency".MARKET_VALUE END, Currency.INSTRUMENT_CCY, Currency.INSTRUMENT_ID, Currency.INSTRUMENT_TYP, Currency.MARKET_VALUE FROM CurrencyPL
    Pls help me solve this problem. How can we use select statement in the column formula?
    Thanks

    First option (OBIEE 10.1.3.3).
    With EVALUATE funciton you can call user-defined functions directly from the database.
    EVALUATE('MarketValueByBase(%1,%2)',Instrument_CCY, CCY2)
    Check this thread by Venka:
    http://oraclebizint.wordpress.com/2007/09/10/oracle-bi-ee-10133-support-for-native-database-functions-and-aggregates/
    Another option (i think better !!!).
    Add FX_RATE table to repository (physical and business model)

  • Passing filter values from column formula in OBIEE 10g

    Hi,
    I am trying to pass filter value from the column LY Spend YTD columns where we have a filter option and passing the year filter 2013 as below.
    FILTER("Fact - Purchasing - Invoice"."LY Spend YTD" USING (Time."Year" = '2013'))
    My goal behind doing this is, we have a filter already present for the whole criteria on the year which is 2012.
    But specifically for this column i dont want to pass the year 2012 to it, Instead I want to pass 2013 to it. But I am not succeding the result is blank.
    Please suggest and let me know if further understanding is needed.

    Hi Srini
    Thanks for you reply.
    I cannot do that way because some measures are satisfying with year 2012 and displaying the data and other measure are satisfying with 2013.
    I am working on LY Spend YTD, LY spend YTD - 1, Spend YTD and Year ago spend.
    So thats the reason I have thought that way of passing the filter in column formula irrespective of criteria filter.
    Please suggest.

  • Using a select clause in the column formula in an Analysis

    Hi all,
    Is there a function or syntax that I can use to simulate a "SELECT" clause in the column formula of an Analysis? What I am trying to achieve is displaying a measure from a specific fact record into the current record. For example, if the current record displays "Region","position", and "salary", I would like to add an additional column called "compared to" in which I can display the "salary" measure from another specific fact record whose attributes I know.
    Is there a function/statement that I can use to achieve this?
    Thanks

    Hi,
    U can't do it in Edit formula column..it's possible below one
    Add SQL filter in that column then follow blow steps
    Convert this filter to SQL
    i.e : add more option to sql here u can write SQL query in that column
    Thanks
    Deva

  • Computational Error when using if then formula in a block, when the formula

    Hi all,
    I am getting a computational error on one of my reports,
    where i have created a new variable. The variable is an "if and
    then" formula which uses the date variable. However if i leave the
    date variable in the report block then the new variable is fine and
    works. However due to the nature of the report we would like the
    report to give a summary over a date range. In normal circumstances
    i would be able to simply drag out the date variable from the report
    block and it would create a summary. Unfortunatley in this instance
    i get the dreaded "computational error". I know its due to the fact
    that business objects requires the date variable present. Is there
    any way around this...
    I've seen some manual work arounds i.e table
    properties and hide the date field, and then group header for each
    category with totals and then table properties and select Fold so
    that it shows the total (one for each product, rather one for each
    day and each product). Just wandering if there is perhaps a more
    efficient way around this. your help will be much appreciated.
    Nandeep

    I don't think it is possible to lock in the date and time using a formula. You could put NOW() in a cell, copy, and Edit Paste Formula Results where you want the result.
    Or if you are "time stamping" a lot, you may find this Automator Service (Dropbox download) helpful. It puts a "Today" function (actually it should be named "Now" because it includes both date and time) in your Services menu like this:
    Just doubleclick the .workflow package to install it. You may have to click "download anyway" in System Preferences > Privacy & Security.
    If you want you can assign the service a keyboard shortcut in System Preferences here:
    SG

  • How to use Column Formula in Answers? Help needed

    Hi all, I have a report requirement.
    I have a prompt.
    I need the column to be displayed based on a prompt value.
    For instance,
    Lets Say I have a report with two columns.
    Customer_name , amount
    wheere customer_name is a column from presentation catalog and Amount is the column I need to calculate based on prompt value.
    If prompt value = 'X' , Then, amount is calculated as: column1+column2
    If Prompt value = 'Y' I need amount = column3
    Where column 1, column2, column 3 are presentation columns.
    'Amount' is the column I need to show in the report.
    I believe this can be done in column formula in asnwers.but donot know How to do it.
    Can you help me in implementing this Please.
    Thanks a lot in advance for your time and help.

    Hi,
    First go through guided navigation concept.
    Follow these steps -
    1) Create two reports,one with Customer_name,amount(column1+column2) call it report1 and other with Customer_name , amount(column3) call it report2
    2) Now create one prompt with sql result and write sql query as below -
    SELECT CASE WHEN 1=0 THEN 'HELLO' ELSE 'X' END FROM SA.TABLE
    UNION ALL
    SELECT CASE WHEN 1=0 THEN 'WORLD' ELSE 'Y' END FROM SA.TABLE
    Use presentation variable.
    (If you are already having x and y in some column then no need to use sql result in prompt)
    3) Now edit dashboard and place two sections and place one report per one section(section1-report1)
    4) Now create one intermediate report with some dummy column and in fx place below code -
    CASE WHEN 1=0 THEN 'HI' ELSE 'X' END
    Apply filter on this column as equal to presentation variable.
    5) In section1 go to properties->guided navigation->select intermediate report that you created.
    Show this section if request returns rows.
    6) In section2 go to properties->guided navigation->select intermediate report that you created.
    Show this section if request returns nothing.
    Try to understand guided navigation functionality,that helps you lot.
    Hope this helps.
    Regards,
    Srikanth

  • Marketing Segmentation Using BEx Queries

    My company wants to use the CRM Marketing Segmentation tool.  The data is coming from BW via BEx queries.  I've been able to create highly defined BEx queries that can be used by the Marketing Segmentation tool.  I'd like to create a more generic BEx query with prompts presented to the user at run time if possible.  For instance, if we need a list of Business Partners with email addresses, I want a prompt asking the user to select a specific division.  I haven't found any documentation that BEx prompts can be used within the Marketing Segmentation tool in this fashion.
    Thanks,
    Jeremy

    Hi,
    You can add multiple queries to workbook using following process:
    1. Open one of the queries in BEx Analyzer and save it as a workbook.
    2. Create additional tab in the workbook, and give it name as query2
    3. Edit the query2 tab by adding other quer. click BEx Analyzer > Tools > insert new query
    OR Go to BEx Analysis Toolbox: Tools > insert new query
    4. Chose the second query and save the workbook under appropriate role
    - Geetanjali

  • Dynamic Column Formula based on Prompt

    Hi,
    i've defined a prompt and a presentation variable associated called "Scenario". It can assume values "Actual" or "Budget"
    My Subject Area contains vary dimensions and a fact table called "Productivity Measures" with following fields: "Productivity Actual" - "Productivity Budget"
    I've created a report with an only field (Header: 'Productivity") which retrieves data from my "Productivity Measures" fact table.
    Now i want that if Scenario value is Actual, the column formula of my field is "Productivity Measures"."Productivity Actual", otherwhise if Scenario value is Budget, the column formula of my field change dinamically to "Productivity Measures"."Productivity Budget". Is it possible? How can i do?

    Hi user,
    Why cant you write a case statement on the column defined i.e. when you select actual you get what you want and viceversa
    eg:- CASE '@{scenario}'
    WHEN 'Actual' THEN 'Productivity Actual'
    WHEN 'Budget' THEN 'Productivity Budget'
    ELSE 'Productivity Actual'
    END
    In case of prompt_column you declared variable right,you can call it there or directly use column name.
    Hope it helps you with this.
    By,
    KK
    Edited by: Kranthi on Dec 16, 2010 11:21 PM

  • HTML Link Problem Column Formula

    Hi All,
    I have a hyper link column in the report. I used to make that coumn as a hyperlink using Column Formula. I added the below text in the column formula.
    '<a target="_blank" href="http://gtestenv:9704/analytics/saw.dll?Dashboard&PortalPath=%shared%Sample%testpage&P0=1&P1=eq&*P2=Variance.Level1=100*>' || Test.ShowLevel1 || '</a>'
    when i use this linkformat working fine. If a change in presentation layer table name "Variance" to "Variance Data"
    target="_blank" href="http://gtestenv:9704/analytics/saw.dll?Dashboard&PortalPath=%shared%Sample%testpage&P0=1&P1=eq&*P2="Variance Data".Level1=100*
    this is not working. Filter is not regognized the parameters. In the Address bar the link is shows like
    http://gtestenv:9704/analytics/saw.dll?Dashboard&PortalPath=%shared%Sample%testpage&P0=1&P1=eq&*P2=*
    Please help me how to send that double qutoes in the URL using <a> coumn formula
    Edited by: Guna on Jul 18, 2009 12:22 AM

    And use %22 for the quotes
    %22Variance%20Data%22.Level1which become :
    target="_blank" href="http://gtestenv:9704/analytics/saw.dll?Dashboard&PortalPath=%shared%Sample%testpage&P0=1&P1=eq&P2=%22Variance%20Data%22.Level1=100"The best way to create this Dashboard Url is to create a fake dasbhoard with what you want and to generate the link with the dashboard links :
    http://gerardnico.com/wiki/dat/obiee/presentation_service/obiee_dashboard_url#dashboard_links
    Success
    Nico

  • Setting up OBIEE 11G Marketing Segmentation pointing to dual CRM apps

    We like to bring into another CRM app into our OBIEE 11 single instance.  Currently we already have one set up with Marketing Segmentation.  We would like to bring another CRM app into this single instance of OBIEE.  My question is, can we configure our single instance of OBIEE 11g to mulitple CRM app running Marketing Segmentation?

    1) I deleted bridge-utils, netcfg
    2) I edited /etc/hostapd/hostapd.conf:
    interface=wlan0
    #bridge=br0
    edited /etc/dnsmasq.conf:
    interface=wlan0
    dhcp-range=192.168.0.2,192.168.0.255,255.255.255.0,24h
    and edited /etc/rc.local:
    ifconfig wlan0 192.168.0.1 netmask 255.255.255.0
    ifconfig wlan0 up
    3) I added in autostart these daemons: hostapd, dnsmasq and iptables.
    Profit!

Maybe you are looking for

  • How to do packing for a delivery? (which transaction?)

    How to do packing for a outbound delivery? Which transaction is used for this purpose? I am trying to do post goods issue for a outbound delivery but it gives me the error 'Delivery item is not or only partially packed'. How to solve this? Thank you!

  • Color Picker Component in JSF

    Hi I would like to know if there is a Color Picker Component in JSF Thanks Sreelekha

  • New iMac Display Sizes

    I'm ready to buy one of the new iMac models but when looking at the current 20", 24" monitors, I think the 24" is the largest I can comfortable accommodate on my desk. I note that the newly released iMac is available as a 21.5" or a 27" in a 16:9 rat

  • How can i email my calendar directly from my ipad?

    I know I can "send calendar via email" directly from my Outlook, is there a way I can do that directly from my ipad?

  • GPSpanel.zip for Photoshop CS5

    Has anyone been able to download it?  I have tried multiple time to get it and nothing happens when I click on that link.