TIMESTAMPDIFF function in combined analysis

Hello,
Has anyone used the timestampdiff function in a combined analysis? I have created a combined analysis with using two subject areas and tried using the timestampdiff function in the results section but its not giving me the right results. I am using timestampdiff(sql_tsi_day, saw_5, saw_3).
Any help is appreciated.
Thanks!
Sonia

I guess you can use TIMESTAMP functions in result columns. The only case where you may hit an error is when one of the columns(say saw_5) is having a null/blank value for the corresponding value in saw_3.

Similar Messages

  • Fetch the result in combined analysis

    Hi
    I have created a combined analysis report. Now in the final report I need to find the percentage of two column .each coloumn coming from the 2 reports. How can i write the function for the same.
    a simple division is giving me wrong data.Kindly help me with the issue.
    Thanks
    Meena

    This may sound like lot of effort, but will definitely work.
    Create a static text. There write a piece of code to read the rows, columns displayed. and to script
    on the field that you want navigation code as on click of column, document.location.href = "url of the report with appropriate parameters"
    td = document.getElementsByTagName("td");
    for(i= 0;i< td.length; i++)
    td.onclick = function (){
    document.location.href = "url of the report with appropriate parameters"
    Let me know if you need more explanation.

  • Use of business partner functionality in combination with dual control

    Is there a generally agreed upon procedure to use the business partner functionality in combination with dual control? The problem is that when you block a business partner, the customer/ vendor master data aren't blocked automatically. You can then still use them in transactions, which leads to problems.
    So is there a way to make this work or a procedure to do this?
    Niels Vanwingh

    Thanks Masa,
    I did notice the 'Add external supplier from' in create supplier or bidder option. However there is a small catch and your experience may help.
    Let me explain the requirement and scenario here in SRM 7.
    We are implementing the Registration of Supplier scenario; both ROS and SRM are in same client. When a potential supplier registers themselves in the registration system, a BP number is created (an Internal number range is defined for this). After accepting the potential supplier in pre-select screen the purchaser has two options to transfer the potential supplier from the ROS system to SRM
    Option 1: He can select the accepted potential supplier from the supplier directory option and transfer the business partner to SRM. In this case the business partner number of the potential supplier is retained in SRM and a business partner with supplier and bidder tag is created. However the purchaser does not have any option to select which type of business partner he would like to create like supplier or bidder.
    Option 2: Purchase can go to create supplier or bidder option and choose the u2018Add external supplier formu2019 from the ROS system and create the business partner. The ROS business partner details are copied to the create supplier screen, but the purchaser have to provide an external business partner number for the supplier. This is because we have defined external number range for business partner for the vendors that are replicated from ERP to SRM.
    Objective is the ROS business partner should be retained in SRM with option to create as supplier and bidder and then manually create ERP supplier with same SRM BP number and map against SRM supplier.
    Is there any way we can achieve this?
    In SRM 5.5 with Manage business partner functionality we could achieve as system give us the option which business partner type we would like to create as well as retains the ROS BP number in SRM.
    Regards
    Sandeep

  • TIMESTAMPDIFF  function in OBIEE Answers

    Hi experts,
    I have a Answers report, where I have included a column and changing the fx formula to find out the time diff ..
    TIMESTAMPDIFF(SQL_TSI_DAY, "Bank Transactions - Payor Aging".AccountingDate, "Bank Transactions - Payor Aging".AccountingDate)
    here I want the second "Bank Transactions - Payor Aging".AccountingDate to be replaces with any date like as below
    TIMESTAMPDIFF(SQL_TSI_DAY, "Bank Transactions - Payor Aging".AccountingDate, '06/02/2010') for June-02-2010.
    But, the above date format is working... can any suggest what format I have give here to work.
    Thanks in Advance
    S

    Hi Madan...
    Thanks for the quick reply...
    I want to continue by next question on top of the TIMESTAMPDIFF function....
    TIMESTAMPDIFF(SQL_TSI_DAY, "Bank Transactions - Payor Aging".AccountingDate, TIMESTAMP '2010-06-02 00:00:00')
    how can I pass this part of the value from the Dashboard Prompt. I knew that the dashboard prompt can only be created on the presentation column. I can't put any date column in my datawarehouse datamodel as there is already one. I looking if there any other way of passing the second date value from the dashboard prompt.
    Thanks in Advance
    S

  • What is the equivalent function or combination of functions for the following ASYST code

    I'm translating a program from AYSYT (very old out-of-date language)to LABVIEW. Thanks to the help from you guys. I have done 99% of my work. But I still have a small question to ask for help. Dose any body know what function or combination of functions in LABVIEW is equivalent to the folowing ASYST code: 0.5 set cut off frequency MOB(array used in the program) smooth.
    After reading the ASYST MANUAL, I know "smooth" is to apply some kind window(e.g. BALCKMAN).but LABVIEW doesn't have the "smooth"function

    I got strange result after using balckman window.
    the xy-graphs of my data before and after using blackman
    window are posted here. the magnitude and the peaks all changed after using blackman window.the peaks magnitude decreased more than ten times. The original ASYST code gives only a little bit lower peak after smoothing(4.2e-6 is the highest peak before smoothing, while 3.6e-6 is the smoothed highest peak).
    Attachments:
    before_blackman_windowed.bmp ‏1747 KB
    blackman_windowed.bmp ‏1747 KB

  • Combined Analysis related question

    Dear all,
    I have a requirement from my customer as follows:
    - Display the list of opportunities split with Estimated order taking by Type (New business, Development on existing customer, Contract Renewal) and by Sales Stage with an indication of the forecasted turnover for the current year next to the Estimated order taking.
    Forecasted turnover is stored in an oppty related object (Assets) which has been configured to support our need (Business need is to have a forecast year after year and to have an estimated turnover for the year).
    Anyway, the aim is to have a list of oppties that should look like this Mockup
    I tried a combined analysis with 2 reports :
    - First report is the full list of Opportunities
    - Second report is the list of opportunities with a line of Forecast for 2012
    I select UNION and the result is not the expected Mockup, the Oppty Revenue and 2012 Forecast columns are duplicated.
    Can anyone please advise on the right way to perform this?
    Thanks in advance,
    Charles DUBANT.

    Hello, I would like to verify if my explanations here
    are correct. ( I believe they are, after some
    experimental tests, but just in case)
    In a XOR statement, both expressions are evaluated,
    but are the alterations to the x variable permanent,
    even if the if statement is false and hence doesnt
    ever run? I mean there could be a complicated boolean
    condition that alters variable x for the if statement
    to be evaluated. When/if that statement eventually
    evaluates to false, the expression following the if
    will never run... But is the variable x permanently
    altered? Say, for code that follows later in the
    source file?-- So when conditionals are evaluated,
    regardless of the outcome (tru or false) any
    alterations to variables remain. I think thats true.
    Thanks for any input.If you change the variable's value in the process of evaluating a conditional then yes, that value will remain. However, XOR does not change the variable's value. The only thing I see modifying variables is your prefix and postfix unary operators.

  • Combined Analysis & Prompt

    Hello,
    I have built a combined analysis (7 simple reports) which display the number of actiities linked to a customer and/or account and/or Custom Object4.
    I have set a filter on the creation date (Superior to CURRENT_DATE-10). The performance is great and the report works fine.
    Now, I would like to be able to choose a period (Year + Month). But not only the current one. I want it to be flexible (Not hardcoded in the filter).
    Unfortunately, the prompt functionnality is not compatible via combiend analysis.
    Do you know any tips that could help me?
    Thanks in advance,
    Laurent

    Hey Laurent,
    You could think about mounting your report on a dashboard page. Then you can include a dashboard prompt to filter the results.
    This is still tricky because the field 'Created Date' will be different for each entity. E.g. the field Account.Created Date will have a different physical reference to Opportunity.Created date, this will make prompting tricky as you really need to be promoting on multiple created dates rather than just the one and the dashboard prompt is still filtering the underlying reports and not the summarised report view.
    1. I would suggest you create another report which just has 'Date' in it. Create this in the 'Account History' subject area (because it includes all dates rather than those with corresponding data). Set your dashboard prompt to filter on this subject area and the Date fields. This effectively gives you a dashboard prompt and a report which enables you to select a date range.
    2. Now mount the report and dashboard prompt on the same dashboard page and check the filter works. When this works go each of your 7 simple reports and create an Advanced filter for every created date (Click the filter icon on the 'Create Date' field for that report, select Advanced Filter, then - Filter Based on Another Request) Then reference the report you created in step 1 and the Date field for the Created Date in your report, use the 'Is Equal To Any' operator. Save all this...
    3. Now mount your combined report on your dashboard page as well. When you now select a prompt you're filtering the new report you created which in turn filters each of the 7 results and shows the correct date range in your report. You can use guided navigation to hide the new report you created from the users on the dashboard page.
    The 'Is Equal To Any' operator isn't great so I would recommend looking at is greater to etc but you can play with that (it wont select more than 1,064 individual dates without returning an error). You can also have a play to include month using the same method. This is a lot of effort to be honest so I would also ask the business whether 'Created in the Last 3 months' or 'In the last 4 weeks' hard coded filters would work. I would recommend this approach to be honest.
    Hope this helps...
    Oli @ Innoveer

  • OBIEE timestampdiff function syntax error

    Hi all,
    I am getting an error while applying timestampdiff function .help me to sort it out.
    TIMESTAMPDIFF(SQL_TSI_DAY,"- Sanction and Disbursment"."Value Date" , VALUEOF(NQ_SESSION.VAR_CAL_CURR_DATE))
    error details
    Formula syntax is invalid.
    [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 22025] Function TimestampDiff is called with an incompatible type.Please have your System Administrator look at the log for more details on this error. (HY000)
    SQL Issued: SELECT TIMESTAMPDIFF(SQL_TSI_DAY,"- Sanction and Disbursment"."Value Date" , VALUEOF(NQ_SESSION.VAR_CAL_CURR_DATE)) FROM "SIDBI Master"

    Aswin,
    Syntax looks to be fine but before applying it here can you check if both these 2 parameters returns date in same format:
    "- Sanction and Disbursment"."Value Date" = 08/21/2011 (No Timestamp)
    VALUEOF(NQ_SESSION.VAR_CAL_CURR_DATE) = 08/21/2011 (No Timestamp)
    Both shud have same format.
    Also, try this for verification
    TIMESTAMPDIFF(SQL_TSI_DAY,"- Sanction and Disbursment"."Value Date" , CURRENT_DATE)
    Hope this helps

  • Dashboard Prompt to filter multiple Subject Areas (in a Combined Analysis)

    I have a Combined Analysis where I am combining multiple Subject Areas. I want to add this report to a dashboard to use a dashboard prompt to filter by the Year.
    The problem I have is because the 'Year' value in each subject area has a different Column Formula ("Close Date"."Calendar Year" and "- Custom Number/Integer (Custom Object 2)".INDEXED_NUM_0)) I'm unable to have a single 'Year' prompt filter both Column Formulas.
    I have it currently working by creating two dashboard prompts - one for each subject area - that each ask for the Year to filter by.
    Is there a way to have a single prompt for Year and somehow have that filter both subject area's 'Year' value?

    I have tried a bit with no luck.
    In the Dashboard Prompt on that 'Year' filter I set the Presentation Variable to 'FILTER_YEAR'.
    I then set the filter in the report to be Equal to a Presentation Variable with the Variable Expr set to 'FILTER_YEAR'.
    When I run the report and enter the filter year it doesn't bring back any data for that report.
    Anybody have experience using the Presentation Variables?
    Thanks

  • Building Combined analysis reports

    Hi, I am new to Oracle Crm on demand and I working on building reports. I have a requirement where I require to create a combined analysis report but I completely don't understand how to display records in a single row. I am using a pivot table to display records in a single row and I am dropping the columns, which I think will have a null value in one criteria, in the measures area and changing the aggregation rule to max. Doing this way it only gives me max value of the record set but I require all the values to be shown in my report. How would I go about displaying all the records from the record set in the pivot table column?
    Thanks, in advance.

    In Version 17 there is a current bug within combined reporting i would also suggest you cover this before creating the report. More information on combined reporting can be found in the help and training section

  • GRC5.2 - SCC - Combined Analysis

    Is it possible in CC5.2 as it was in CC4.0?
    Thanks in advance
    Claudio

    Hi
    The combined analysis in CC52/53 works only for role level.
    There is not direct way to achieve this but you can run combined analysis based on simulation.
    The simulation in 52/53 works on principals of combined analysis.
    Here is work around for it :
    in CC52/53;
    Go to Informer > Risk Analysis > Role Level.
    Select the system for which you want to run analysis .
    Select one of the roles .
    down below in the page , click on simulation button .
    select type = Role .
    for Values field , Select the Yellow arrow.
    Type in the list of single roles for which you would like to do combined analysis .
    Execute it .
    You will get what u wanted.
    cheers!

  • Contact coverage rate report(very complex, combine analysis)

    Hi experts,
    we have a KPI to measure the contact coverage base on segmentation.
    the business scenario is as following:
    1. We have 4 segments for tcontact, A, B, C, D. it is the custom filed in contact object;
    2. my contact: if I am in the contact team, even I am no the owner of the contact, the contact is also mine;
    3. My visited contact: the contact associated with activity which the owner is me;
    The seg A contact coverage rate = # of my visited contact with seg A / # of my contact with Seg A;
    The difficulty is it is in different report subject area. my contact should be used "Contact Tem", my visited contact should be used "Activity history";
    Now I can use combine analysis to run out # of my contacts by count(contact id) in contact team; subject area and the # of my visited contacts by(count(distict(contact id))) in activity subject area. the question is how I can calculate the rate, it is on different row same column;
    Please help;

    Max,
    The report I am trying to achieve is like:
    Sales Rep, # of seg A contacts, # of Seg A visited contacts, Seg A contact coverage rate; # of Seg B Contacts, # of Seg B Visited Contacts, Seg B contact coverage rate;
    AAA, 20, 15, 75%; 25, 20,80%;
    thanks

  • Filter problem in combined analysis

    Hi
    I have the following scenario
    i made one criteria1
    channel id ,sum(sales) with filter channelid=direct
    i made second criteria2
    channel id ,sum(sales) with filter channelid=indirect
    Then i combined all the two criteria with union all operator in combined analysis
    but i only got the result of second criteria.
    the combined query is taking the second query with filter.
    but i want the first query result also,pls help
    regards
    Obiee fan

    Did you try to extract the SQL from the union report and run it against the database to see if you are seeing the results that you want? This might be because of an in appropriate joins in the RPD. Just another thought, instead of creating two different reports and having filter on the same column in both reports, why do you not create one report and filter the criteria there? for ex: channel Id is equal to direct and in-direct? This would avoid all the extra work right?
    Regards,
    -Amith.

  • Combined analysis to show Opportunity records and all related Contacts?

    Hi All,
    I am trying to create an analysis that would pull up Opportunity records and all their associated Contacts, not only the Primary Contacts. I believe there is a way of doing this using Combined Analyses.
    Any suggestions will be of great help.
    Regards,
    Andy

    If you are using the out of the box fields defined for this purpose, both on the Product Revenue and Opportunity objects, then the Update Opportunity Totals button on the Product Revenue section would do it. If not then you'd need to go the Webservices way.
    Udaya

  • Combined Analysis Report - Grand Total

    Is it possible to have a grand total on a "Combined Analysis" report?

    I think you can use the Pivot Table view and show the sum of rows. If no digits appear in the metrics, set the Aggregation Rule to Sum.

Maybe you are looking for

  • Values are fine on my CR developer desktop but become all zeroes when ran in the Crystal Viewer

    Post Author: RobertICBC CA Forum: Data Connectivity and SQL I am using CR v. 11.5 and have developed a report using an Oracle table as a datasource. The table is small with a lot of summary data. I have used a number of running totals for display fie

  • BPM with multiple Receives

    I have an input from a File1 and this will be received in the BPM and then the input will be sent Synchronously to get a Response Back. Only after I receive the First HTTP response, I need to Receive another File say File2 in BPM. How to achieve the

  • IPhoto can't locate saved edited photos even though the thumbnails show up?

    Hoping to find out what's the issue here! After updating iPhoto '11 to 9.1.1 and upgrading my library, I edited some photos today only to discover that whilst the thumbnails were still there for these photos, whenever I clicked on them to enlarge the

  • Need an alternative workspace and monitor?

    You may get tired of being locked inside your cramped studio too long each day. Here is a suggestion for an outside and outsized monitor: http://www.inavateonthenet.net/article/55432/Porsche-Design-studio-says-201--display-is-wo rld-s-largest-TV.aspx

  • Program RHALEINI

    Hi all, i'd like to share with somebody a doubt concerning the program RHALEINI (transaction PFAL); For my customer i've set the HRMD_A message type for the transfer of certain infotypes from our system to their; The transfer mode is the doubt: how c