Skip to main content

Questions on Custom Functions

Multiple word search in multiple colums

Hi,
I have two databases, the first one contains a series of columns with data, the second one contains several words. I need to perform a search on specific columns of database 1  that contain the key words in database 2 
Sample: Refer to image attached. 
I can't use the search function as I have more than 10 key words to be search 

Using a column values into a sql query in ideascript

Hello. Usually we use subquery when we want to include the values from a secondary table to select a resulting recordset from a principal table. So, I need to do this in a ODBC connection, i have to import info from a primary table using subquery from  an IMD file(Idea Database). Is it possible? Does anyone have an example t share, plese?

Working with date, weekday and weekend

Hi guys,
I'm currently working with date field where I need to determine whether the particular date is either weekday or weekend. I'm able to do that with the @workday(date) function. However, I'm facing difficulty to group that result by week. E.g 04.01.16 to 10.01.16 (1st week in Jan 2016), 11.01.16 to 17.01.16 (2nd week in Jan 2016). My 1 week here starts from Monday to Sunday. 
My task is after the grouping of the date by weeks, I need to extract those transaction that is more than 3 times in a week.

@Isini function

Hi everybody,
I know that this thread is for custom functions, but I did not find a thread for the built - in functions.
I'm having some difficulties in using @Isini function.  Using the syntax provided by the equation editor < @Isini(''Co'', SUPPLIER) > on a character field I'm getting an error with the message "syntax error". Any ideas / suggestions?
Thanks,
Cristian Gradinaru

Compare or Search on Column/Field Names in a same IDEA database

G'day All,
Recently, I got a request to do a search or comparison between field names/columns in a same IDEA database files. Refer to example below, I need to search the word apple in column 2 from column 1. What is the @function that could be use here or do I need a script to do that?
Column1            Column2
1. orange          1. banana
2. apple           2. mango
3. pear             3. peach

How to find duplicates on 3 columns in IDEA

Hi there,
I have a file where my task is to extract and flush out the duplicates with 3 columns in IDEA. Any chance of how to do that? I try use @compif, @list and @match, but the result is not what I'm expected. Here's the scenario:

 
Col1
Col
Col3

Row1
1
0
0

Row2
2
2
0

Row3
3
0
3

Row4
4
4
0

Row5
5
0
0