Use of Excel numerical functions

Hello,
Is it possible in a Excel rule file to use excel functions?
For example, I would like to use the following function : Ceiling(<My attribute of type number>,1).
I've seen that in a Word file, it is possible to use something like : <the result> = Round(<the value>,3)
It seems that OPM does not detect excel functions. Can you help me?
Thanks.
Celine

Brad is 100% right that the Excel functions can NOT be executed at runtime. Also, OPA does NOT pick up Excel functions at compile time at covert them into the OPA rule format. But there was a discussion and a prototype to do this years ago, but it was never developed. I like the idea that you could throw together an Excel sheet with some formulas for OPA to capture and include in your rulebase. Anyone else agree?

Similar Messages

  • Can I  use excel type functions embedded into an online pdf form, ie Qty x Price= total $

    Can I use excel type functions embedded into an online pdf form, ie Qty x Price= total $

    Let me tell you what I am sure about and what I am not sure about:
    I am sure that I want to be able to sell my products online. The industrial market that I sell to usually do not allow the maintenance people that find me on the web, do not have the ability to use credit cards in a typical shopping cart format due to the higher prices that the equipment I sell costs and that most people call me up to 'request a formal quotation' to give to their purchasing depart. So, my bright idea is to create numerous pdf files with very specific url's to match the very specific items that I sell. (1) item per pdf. I am thinking that the advantage to skipping the shopping cart approach and allowing the customer to fill in the qty of items, which would be mulitpled by the price of the item (a constant #) and then hitting a apply button, that would calculate subtotal price. Discounts for the qty the customer inputs (qty of items inputted by customer would be discounted on a percentage x base price) and a refresh the screen. It would allow for SEO advantages from what I have seen in the past in my very vertical market. All forms would be setup using the same functionality, just images, alt text, urls, and readable text would change.
    What I don't know- which is alot, then how to calculate shipping costs. I have a weight per item, which can be added up. I saw an Adobe blog that allows UPS shipping cost to be programmed in. I don't know how dreamweaver works, which was what the blog mentioned would allow for this updated, instantanious interface with UPS and calculating real shipping costs to a specific zip code. Shipping cost would be fluff to this page. The main thing would be to do allow the customer to be able to fill in a qty of the specific item on the page, calculate a discount if / then type thing, be able to have customer email to purchasing dept or print. I would date stamp it with verbage that pricing is valid for XX days and if I could get a copy emailed to me that would be icing on the cake. I believe that this non static pdf would be something different then the current competion and that it would allow for 100's of quotes to be generated without customers having to wait 15 minutes to an hour for me to process the exact document that they are looking for.
    Hajeks

  • How to implement Excel like functionality using Table?

    I have a requirement to implement excel like functionality in a table, i.e when I update the amount in the first row and tab out, the values in the rows below should get affected.
    Could any one suggest idea how to get this done?

    Hi Timo,
    Thanks for your Reply.
    Can you please provide the code for capturing the key stroke in java script and queue it in the server and calling only the adf data table values from it.
    Thanks And Regards,
    Lovenish Garg
    Edited by: lovenish on 21-Jan-2011 04:25

  • Add multiple graphs in one chart(ex.scatter chart) using labview excel report generation toolkit

    How to add multiple graphs in one chart(ex.scatter chart) using labview excel report generation toolkit. Assume like my test data is like below:
    X-Axis
    Data1
    Data2
    1
    1
    2
    13
    2
    3
    14
    3
    4
    15
    5
    5
    16
    3
    6
    7
    7
    The above graph generated manually in excel. I want to generate the same using excel report generation toolkit. when I use Excel Insert Graph.vi where the input data is 2D array with numeric data but here labview converts the empty cells (eg.x -axis 1,data1- is empty) as zero and while plotting i am getting zero for empty cell values.
    Can anyone please help me on how to plot the graph without adding zero for empty cells?
    Thanks&Regards,
    Bharathi T
    TE
    X-Axis
    Data1
    Data2
    1
    1
    2
    13
    2
    3
    14
    3
    4
    15
    5
    5
    16
    3
    6
    7
    7

    Hi Bharathi,
    The Excel Insert graph function takes in only 2d arrays as inputs. Since arrays can only have numeric values, any table with a null string is read as 0. Now to get a plot like you mentioned, you could read the table and replace blank Strings as NaN. NaN values in an array when plotted do not appear in the excel sheet. For reference I have attached a sample vi to help you understand.
    Regards
    Vijetha Nuthakki,
    Applications Engineer
    NI Systems India
    Attachments:
    Excel_graph_multiplot.vi ‏21 KB

  • Report generation Toolkit: Excel report functions error -2146827284

    Hi,
    I'm trying to create an automated report using excel functions from the report generation toolkit in labVIEW. When I run the program that generates the report first time round (the report consists of several worksheets, each worksheet is added onto the report at a diffferent state in a state machine) it always works fine and no error is generated. However, when I run the program again it will infrequently (sometimes it does, other times it will not) generate the undefined error -2146827284, this is coming from one of the excel report functions and it cannot find it on highlight execution mode.
    Does anyone know anything about this error, why it occurs, how to prevent it?
    I would appreciate any help.
    Thanks,
    Rowan

    mebels_cti wrote:
    Found something that helped; https://forums.ni.com/t5/LabVIEW/Error-code-quot-2146827284-quot-when-trying-to-open-an-Excel/m-p/20...
    Excel still open
    So I added this;
    You should use the Application Quit method instead of killing the task. I doubt this is the cause of your issue.
    Ben64

  • How can I modify column width in a spreadsheet report without using an Excel template

    I currently use the LabVIEW Report Generation toolkit in LabVIEW 2011SP1 to create simple spreadsheet reports that I can build/print without having Microsoft Office products installed.  I really like being able to do this, and it allows me to generate nice on-demand data reports - I'm also not tied to having Office installed on the system I'm using, so this works on just about any test fixture I can install the software on.  
    I recently have a requirement that I must have variable-length columns in my report.  I currently use the VI "Append Text Table to Report" in order to create a text table, but the column width requirement is that all columns must be equal width UNLESS I use an Excel Template file to define my column widths.  
    My questions are:
    Is it possible to create a text table and define per-column widths without using an Excel Template?  If so, how?  My report mainly has a lot of small numerical values for the columns, but some columns contain system names or status messages - I really hate the longer text blocks wrapping and taking up so much real-estate when if I could control the column widths I can get all my data on a single line.
    I'll admit I haven't tried this myself yet, but if I use an Excel Template will that require me to have Excel installed on the PC in order to print/generate reports?
    Is there a recommended way (with an example) of generating a text table in a report with or without using the "Append Text Table to Report" VI that allows me to have custom column widths that doesn't require me to manually build a custom print page?  If I do have to create a custom print page, what would be the most straightforward approach?
    Thanks!
    -Danny

    Sure, I'll provide a pared down example that demonstrates my use-case:
    I have a control to the VI that takes in a 2D array of strings representing the data I want printed in a table.  I am generating a standard report, adding a table to the report, and printing it.  The first VI is "New Report.vi", the second VI is "Append Table to Report.vi", and the third is "Print Report.vi", all found standard in the Report Generation palette.
    Note that the "Append Table to Report.vi" has an input parameter "Column Width" with a default value of (1).  This input parameter is a single input parameter, which defines the column widths of ALL the columns in my table - hence, with the VI the way it is, all my columns will be 1 inch wide.  
    I find myself needing to be able to define per-column widths, not just a single global column width parameter.  
    The only way I have found to do this is by using an Excel template file.  The "New Report.vi" takes in a "template" parameter, and if used, the report generation toolkit can be set to ignore the "Column Width" input parameter on the "Append Table to Report.vi" by setting the width value to -1.  Instead it will launch Excel, open the template file provided, build the table using the template, will close Excel, and will attach the generated table to the report.  However, I have a strict requirement that Microsoft Office NOT be required to be installed on the computer.  
    So, without using Excel, is there a way to generate a table in a report and define the width of each column individually?
    -Danny

  • How to Simulate The Excel LINEST Function in LabVIEW

    This may be a dummy question but I’m pressed for time.  I have used the Linear Fit.vi function to duplicate the Excel LINEST function and it works great.  However, the engineers here want to set the LINEST const option to FALSE.  How can I duplicate this option using LabVIEW?  I’m using LV v.8.5.1.
    Solved!
    Go to Solution.

    Hi Darin,
      Your suggestion to use the General Polynomial Fit.vi lead me in the right direction.  I am able to duplicate the “const” option within the Excel LINEST function by using this vi.  Your response is much appreciated because it saved me considerable time.  Attached is a modified version of the Regressions Demo.vi that was available in LV help.  It shows how the “const” option makes a difference in the linear slope.
      Thanks again,
      Dave J.
    Attachments:
    Regressions Demo for TS1.vi ‏33 KB

  • How to create an excel workbook using the excel toolkit

    I've starte working with the excel toolkit combined with the GOOP toolkit. After finding out that the GOOP Toolkit apparently has problems working with LabView 5, with which I developed my application, I changed to LabView 6. My first step was to open an existing excel workbook. Here I was successful. On the other hand I could not create a workbook using the excel open vi. Did I miss something?

    "Goyo" wrote in message
    news:50650000000800000060510000-1023576873000@exch​ange.ni.com...
    > I've starte working with the excel toolkit combined with the GOOP
    > toolkit. After finding out that the GOOP Toolkit apparently has
    > problems working with LabView 5, with which I developed my
    > application, I changed to LabView 6. My first step was to open an
    > existing excel workbook. Here I was successful. On the other hand I
    > could not create a workbook using the excel open vi. Did I miss
    > something?
    There's an input to the excel open that chooses "open workbook from file" or
    "open new workbook" which should do it. Unless you meant 'worksheet' in
    which case there is another function in the tookit to do that.

  • Use of the Earlier function

    Hi Everyone
    I am trying to use the Earlier function to get the value of the previous row for the function referenced. I keep getting the below error for its use in the second half of the If statement. I am using Earlier with a function and not a column so I am not sure
    if that is the issue or something else. I tried it using a '2' instead of a '1', but that didn't help.
    Does anyone know anything about this?
    Function:
    =if(earlier([Numerator-new],1)<>0,earlier([Numerator-new],1),0)
    Error:
    "Calculation error in measure 's1Perm1'[Calculated field 1]: EARLIER/EARLIEST refers to an earlier row context which doesn't exist."

    This is somewhat complicated, but this logic would work:
    a. If the ExitMonth > 6 then get the record where the ExitMonth is 3 months less than the current record (if it exists) and where the JudgeName, JudgeTitle and Year fields are the same as the current record.
    b. If the ExitMonth > 1 and  ExitMonth < 6 then get the record where the ExitMonth is 1 month less than the current record (if it exists) and where the JudgeName, JudgeTitle and Year fields are the same as the current record.
    c. If the ExitMonth =1 then get the record where the ExitMonth =.5 and where the JudgeName, JudgeTitle and Year fields are the same as the current record.
    I am attaching a screenshot below (with info redacted) of a few records that represent what this looks like.

  • Help Converting Excel Time( Function to DAX

    I have a column of data that has a text string that represents a time of day.  Example if 55553 which is 5:55:53 AM.
    I need to convert the time to Eastern, and display in a time format.  Here is the formula I am currently using in Excel:
    =(TEXT([Time of Day],"00\:00\:00")+0)+TIME(1,0,0)
    Can you help me convert to a DAX approach please?

    Hi Scott,
    you need the TIME-function in DAX: TIME(hours, minutes, seconds)
    https://msdn.microsoft.com/en-us/library/ee634564.aspx
    With some combinations of LEFT & RIGHT Text-Functions, you should be able to pick out the needed numbers from your string. Very much like Excel.
    Imke

  • Download to Excel 2000 Functionality

    Hi,
    I use the "Download to Excel 2000" functionality in OBIEE.
    When i see the output in Excel,columns B and C of excel get merged and display the second column in my report
    The point here is the first column in the report also has the same property and type as Column 1.but it is displayed properly in Cell A in the excel
    Is this an known OBIEE issue?
    Can anybody please help in this regard??
    Thanks in advance

    I think you got it correctly.
    I doubt this is Analytics problem - I think it's more of international codepages.
    Even if you open the same spreadsheet in a different localized Excel version, you'll see similar results. And then if you save it and open it in original version, it'll be messed up.
    Globalization :-)

  • Using IF or SWITCH functions inside a DAX formula into a tabular model - SSAS 2012

    Hi,
    in a tabular model I've changed a DAX formula introducing the SWITCH function, but when I deploy the changed formula and open the Excel workbook the slicer connected to the pivot table doesn't highlight the slicer values involved as instead of old formula.
    Any suggests to me in order to maintain the right behaviour for the slicers when a formula is re-written using an IF/SWITCH functions, please?
    Thanks

    I think that is the default behaviour and I can find a few justifications for it too...
    For eg, if you have a complex IF condition, the measure will have to be evaluated for each value of the slicer for correctly finding the right values in the slicer to highlight, and that can make it REALLY slow.
    Also, sometimes there is no correct values to highlight. For eg, if I have the products in the slicer and have a condition like
    =IF(HASONEVALUE(Product[Product]),1)
    then which Product should be highlighted? There is no correct value as any one of the Product selected on it's own will display value for the measure. And more than one products selected will display no value. So no matter what you display/highlight on the
    slicer, there is no "correct" behaviour. In such a case, it is best left to display/highlight all values.
    Cheers,
    Jason | www.SqlJason.com
    P.S. : Please click the 'Mark as Answer' button if a post solves your problem! :)

  • Can I use Interop.Excel in Office 365 web app development

    Hi,
    I want to develop a app for office 365 web. I know javascript api is available for that purpose but the problem is, it is limited to some functionality only. I want to manipulate excel sheets and ranges so will Interop assembly work ? 
    Thanks

    Hi Maulik,
    >>Can I use Interop.Excel in Office 365 web app development <<
    No, the Office PIAs is used to interact with Office Client which developet with COM technology. The Office online is different with Office client, it is an service and exposed with HTML.
    >>I know javascript api is available for that purpose but the problem is, it is limited to some functionality only.<<
    Did javascript mean JavaScript API for Office? If you have any feedback about apps for Office, you can submit it from link below:
    Customer Feedback for the Office Developer Platform
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
    href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

  • Java implementation of Excel Rate function

    Hello,
    I need to use the Excel Rate built in function in java code.
    Has any one done this be4? or has seen this on the web.
    Thanks for ur help!

    Hello,
    I need to use the Excel Rate built in function in java code.
    Has any one done this be4? or has seen this on the web.
    Thanks for ur help!

  • What's user variable name using Smart View POV function (ex:HypGetActiveMember)?

    Hi,
    We want to use Smart View POV function (ex:HypGetActiveMember) to get the active member of user variables from HFM forms selected into Excel, but we don't know the user variable name in the following paragraph of Smart View developer guide:
    "To uniquely identify the user variable, provide the user variable name rather than the dimension name."
    For example, what's the user variable name of Year dimension? How to get the user variable name?
    Any information would be appreciated. Thank you!

    Hi,
    I guess user variable name is set by users/developers. I am not very clear on your question. If you have defined some variables to select any members from a dimension then it will be in HFM only. In planning we have two kinds of variables User Variables (we set it from Planning Preferences) and Substitution variable (we set it from Essbase Consol in the backend). Without looking into your application it is difficult to say the user variable name. Like for Year the user variables can be "PreviousYear", "CurrentYear", or "NextYear" etc.
    Soumya

Maybe you are looking for

  • Album view in iTunes 11.1.5.5

    Sorry if this is a 'noob' type question ... I used to have views of albums in the Music folder.  Something has happened to iTunes and now all that I get is a list (organised by album name), Have tried various things and nothing gets me back to the vi

  • Best practice needed: how to dynamicly change rowset for a dataTableModel

    Hello creator folk, I need an advice on the following problem. I start from the insertUpdateDelete tutorial, and I stick to the very first part - creation of the first page with a dropdown and at table. Now I add a second dropdown to add another cont

  • Can't update firmware on iPad 3rd Gen (GSM) 6.0.1

    I received an iPad 3rd gen (gsm) for my birthday from my sister in law, who works at Apple (this will come into play). The firmware is 6.0.1 and I am unable to update to the latest firmware. I have tried using iTunes and OTA and i get the generic err

  • Apple ProRes QuickTime Decoder will not install

    Hi, I just got in my new iMac so I can edit video with Final Cut Express. Problem. I can't install the Apple ProRes QuickTime Decoder. I have this setup on my current computer. I have Final Cut Express with the decoder installed so that I can import

  • Mod_osso.conf - sso protected - case sensitive URL not working

    Greetings, I have modified my mod_osso.conf (see below) file to protect the following URL "http://host.domain.com:7777/test". If you enter the above URL - you are properly challenged for a user-name and password. HOWEVER, if you enter "http://host.do