Questions tagged [lookup]

Look up is related to indexes and hash tables. It is the action of accessing fastly to an item in a large collection thanks to a index (a so-called lookup table).

Filter by
Sorted by
Tagged with
0 votes
1 answer
21 views

Getting error while doing JNDI lookup for EJB in websphere 8.5

My application is getting deployed and loggers also shows the mapping for all the EJBs. But while doing look up for EJB, it is giving error stating EJBMDOrchestr E CNTR0075E: The user-provided class ...
Saurabh's user avatar
2 votes
1 answer
64 views

Finding the closest pair (within a tolerance) of tuple from a pandas data frame in O(N) time complexity or better

The problem I am facing may be realizable in a looping, however, I need to figure out a pythonic solution with max O(N) time complexity: So the problem is this: I have a data frame (which I call say ...
Stan's user avatar
  • 840
-1 votes
0 answers
25 views

Set a variable from clicking on a database view field to then open a corresponding form from that variable [closed]

I have a screen showing a list of 1000 customers. When scrolling down the list, I want to be able to choose one record by clicking on its primary_code and store that code to a lookup variable. Then I ...
Kim Bielaczyc's user avatar
-3 votes
0 answers
41 views

VBA code or maybe POwer BI that pulls the data from different cells into one cell based on multiple criteria

Looking for a VBA code that pulls the data from different cells from the workbook to another workbook based on multiple criteria. Not sure if that was already solved Precisely, there is a "main&...
MMM's user avatar
  • 1
0 votes
2 answers
29 views

Power BI - Look up value from another row in same column

I have the following table and want to be able to compare the Current Date with the Old Date via the Linking Key. Linking Key Category Date 111 Current 12-Apr-23 111 Old 15-Apr-23 333 Current 15-...
ninelondon's user avatar
0 votes
1 answer
42 views

VBA lookup and return text in different column

I'm working on a list of tasks where i have a status column (H) and a deadline column (J) around 1000 rows. Starting from row 7 If a task gets the state "Closed" the date in the same row but ...
Martin Vestenkjær's user avatar
2 votes
1 answer
24 views

VLOOKUP Equivalent in SQL Within the Same Table

I am trying to lookup a manager's name from only the Employee_ID, Manager_ID, Employee Name within the same table. Here is the data I have to work with. SELECT EmployeeID, EmployeeName, ...
jfranklin27's user avatar
-1 votes
1 answer
107 views

INDEX and MATCH return incorrect values in Google Sheets

There is a table in which each row is an event from the CRM system. Column A contains the IDs, and Column B contains the date and time of the event. Based on IDs, I need to calculate the duration ...
Artem's user avatar
  • 3
2 votes
1 answer
37 views

MongoDB $lookup array of lookup field values

I'm using MongoDB, and I tried to do it with many pipeline steps but I couldn't find a way. I have a players collection, each player contains an items array { "_id": ObjectId("...
Akash Chavda's user avatar
  • 1,207
0 votes
0 answers
11 views

Slow Excel Table Update/Filtering When Using Lookup

I am currently experiencing a recurring/general problem when using Excel tables. When a table is being "looked up" from elsewhere in the workbook, the table is slow to update/refresh. When ...
DExcel's user avatar
  • 5
0 votes
1 answer
32 views

MongoDB lookup and merge nested arrays

I started using MongoDB after a long time, but I could not write the code to perform the following operation. What I want to do here is to perform the lookup from the suspects and lawyers documents ...
kibar's user avatar
  • 824
0 votes
1 answer
24 views

Microsoft Dynamics CRM - How to open the 'create new record' link from a lookup field, when choosing an option from an option set

I am working with Microsoft Dynamics CRM on-premises v.1612. I have two lookup fields on my accounts entity, used for creating risk assessments. One for high risk, the other for low. I also have an ...
Doogle's user avatar
  • 13
-1 votes
1 answer
38 views

Is there an alternative way for lookup in ssis for mariadb?

Suppose we have two tables with the following values: ID Name Fname 1 aaaa aaaa 2 bbbb bbbb 3 cccc cccc 4 dddd dddd ID AnotherId 1 3 2 5 3 4 4 2 I'd like to add the AnotherId column to the ...
Arani's user avatar
  • 923
0 votes
2 answers
35 views

POWER BI: Show the Value from a Cell with a measure : using Dynamic Index || Count Dax Formula?

I have a table of power market which contains a column of Daily Return called "LN" (Sort Descending). I have written a measure which has given me the specific number of the row containing ...
Parn's user avatar
  • 1
0 votes
1 answer
37 views

Iterate over PySpark dataframe and get value based on condition

I am reasonably new to using PySpark and have the following problem. Suppose we have the following table, in reality it would have several thousand rows: +-----+------------+----------+-----------+ | ...
ezrix's user avatar
  • 27
0 votes
2 answers
62 views

R ifelse dummy variable on multiple condition lookup

I have a huge dataset and I would like to insert a dummy variable column based on a set of conditions: I have my main df (A) in which I have 5 million rows and 10 columns, where 4 of them are date;...
Mining's user avatar
  • 115
1 vote
1 answer
58 views

2-factor lookup with an approximate match in Excel (not 365 version)?

I have a timecard-style task where I need to analyze a large group of data to evaluate maximum/minimum occupancy for a controlled-entry worksite. I get data in a bulk raw format. There are many ...
Matthew Sechrist's user avatar
0 votes
0 answers
38 views

How do I insert into a multiple choice lookup column data from an Excel table

I made this same question on the Power Users forums here I've been following this video on how to import Excel data into a SharePoint list: https://youtu.be/uEZI_b1Gs-k?t=940 There is a column on my ...
Marcelo Marcolino's user avatar
0 votes
0 answers
56 views

Highlight cell red if empty under column name X in row name ABC on sheet 1, IF cell is TRUE under column name X in row ABC on sheet 2

I need help to highlight cell red if empty under column name X in row name ABC on sheet 1, IF cell is TRUE (ie. ticked) under column name X in row ABC on sheet 2. I am ideally looking for a formula ...
trixxd's user avatar
  • 11
0 votes
1 answer
48 views

Incremental load with lookup and timestamp in adf

I want to do in incremental load from an informieren dB to azure sql db. I used a lookup to get the latest time stamp from the sql db because full load has already been done and I want to use the ...
Mr_Unchained's user avatar
1 vote
2 answers
42 views

Get the index of the set containing a character from a list, for every character, in less than O(n**2)

I have two elements, x and Y. x is a very long list of characters. Y is an even longer list, such that every element of it is a set. For every element in x, I would like to find the index of the set ...
David Harar's user avatar
0 votes
0 answers
33 views

Copy a list that's created by alphabetizing information and them matching the information

I have a list of names A B | Client | Opposing | | Josh | Max | | Greg | Peter | which is then alphabetized in the next column (C). A------------ B -------- C ---------- ...
Josh's user avatar
  • 1
0 votes
1 answer
40 views

Aggregation lookup in a sub field inside an array

I have the following MongoDB schema for User collection { ...otherProperties, skills: [ { skill: { type: db.Schema.Types.ObjectId, ref: 'Skill' }, level: { type: String } } ] } and I am ...
Sohayb Saleh's user avatar
0 votes
2 answers
116 views

Azure Data Factory - How do I iterate and read records in a CSV file using a ForEach loop?

I have a requirement to generate a unique 'guid' for each row in the dataverse, and for that, I'm using an additional column in the copy activity as shown below. Since it generates the same guid for ...
vw96's user avatar
  • 19
-1 votes
1 answer
68 views

How to lookup from the second source datatable to the first datatable with vb.net

How to lookup from the second source datatable to the first datatable with vb.net. Is it possible to apply lookup datatable if possible? please guide me Thanks Private table1 As New DataTable ...
roy's user avatar
  • 693
0 votes
1 answer
12 views

How to combine real-time and historical data for moving average calculation in DolphinDB?

There is a DolphinDB stream table containing the real-time closing price for a specific financial instrument. I want to combine the real-time data with the historical data stored in a DFS table to ...
Polly's user avatar
  • 603
1 vote
1 answer
46 views

In R I have a column that contains the index (or column name) I want to pull from in a new column. How do I do this?

I basically want to do a lookup or similar to an INDEX/MATCH in Excel but in R. My data contains a column which refers to the row number I want from the lookup table and a column which refers to the ...
stacktuary23's user avatar
1 vote
1 answer
22 views

Django custom lookup, error on using modulus operation in as_sql()

from django.db.models import Lookup class NotEqual(Lookup): lookup_name = 'div' def as_sql(self, compiler, connection): lhs, lhs_param = self.process_lhs(compiler, connection) rhs, rhs_param = ...
MOHD SAIFUL's user avatar
1 vote
1 answer
116 views

How to assign a category based on a number range?

I'm having a problem with Excel. In my game, the hero has max level, which determines by its rarity. So a Common Hero can get only to level 40 I want to determine which rarity a hero is based on its ...
Duy Hoang Nguyen's user avatar
0 votes
1 answer
82 views

Nested lookup and substitute System properties in log4j2 properties file

In log4j2.properties file we have following definition to accept dynamic file path via System property log.filePath appender.file.fileName=${sys:log.filePath} In JAVA layer before creation of Logger ...
Kousik Mandal's user avatar
0 votes
0 answers
38 views

Lookup on ObjectIds in an array of strings in .Net

Suppose I have a collection Book with a field Genres as following: Book: { _id: ObjectId('id') Title: "Book1" Genres: {"id1","id2"} } And a second collection Genre: ...
Grace's user avatar
  • 1
2 votes
1 answer
39 views

Mongo lookup condition: not exist

We have two collections. One is the books collection with loads of data. Like: { '_id' {"$oid": "64ba6a416504f1f01d773faa"}, 'isbn': 8765434567890, 'booktitle': 'some text'...
Jeex's user avatar
  • 127
0 votes
0 answers
50 views

Dropdown on form not updating the record on SubmitForm - Powerapps

I am creating a task list (of sorts) using Powerapps with Sharepoint Lists as a data source. I have a ‘Tasks’ list, which has a column called ‘AssignedTo’. This is a lookup column (multi-value) which ...
DivZero's user avatar
  • 63
0 votes
3 answers
68 views

how to find each of week of day then add up the numbers?

I have this excel: (for example) fri, jul 1 sat, jul 2 sun, jul 3 mon, jul 4 tue, jul 5 wed, jul 6 thur, jul 7 fri, jul 8 sat, jul 9 sun, jul 10 mon, jul 11 tue, jul 12 wed, jul 13 $10 $20 $30 $15 $...
Unicorn's user avatar
  • 109
1 vote
1 answer
39 views

Mongo linking one array to another

The starting point for this query is a collection called books: { '_id' {"$oid": "64ba6a416504f1f01d773faa"}, 'isbn': 8765434567890, 'booktitle': 'some text', 'chapters'...
Jeex's user avatar
  • 127
-2 votes
3 answers
82 views

Determine the difference between values in object and array

I have the following object and array of numbers. How can I tell which number in the array does not exist as an id in the object? In the following example, I would want 1453. [ {id: 60, itemName: '...
noclist's user avatar
  • 1,681
0 votes
1 answer
28 views

want to lookup each number in a column in another table and return the largest number below the given value in R

I want to do something similar to an INDEX/MATCH in Excel, where the last argument in MATCH is flexible enough to return the index of a value less than or greater than the lookup value by using -1 or ...
stacktuary23's user avatar
-2 votes
1 answer
36 views

formula for Indexing

i have values in my sheet 5251, 3520, 2532,17 and in another sheet have index like 0-500 501-1000 1001-1500 1501-2500 2501-5000 5001-10000 i want appropriate index Infront of my value need formula in ...
Aditya Singh's user avatar
0 votes
1 answer
33 views

Match Results using MySQL match are Inconsistent

I Have a MySQL Database that is used to get data from when searching on a website. Well testing I noticed that my search results are inconsistent. Here is an example the value Apple is in my database ...
Liam Morton's user avatar
0 votes
1 answer
22 views

use mongo db find an array element aggregate lookup on another collection in MongoDB

I have two collections in mongodb. they are related each other. First collection structure is as follows : semiproducts = [ { _id: "64afad9eda7e337a51b304c8", name: "Cream&...
Mehmet Altan's user avatar
0 votes
0 answers
32 views

How to ignore records that are matched already in lookup table and able to fetch the next matched records in Talend

I am trying to perform a lookup in talend and my table looks like this: order sku reference 91245932 8893301500 91245932_8893301500_08 912459320 91245932 8893301500 ...
simran kukreja's user avatar
0 votes
1 answer
26 views

Google lookup function simply uses the last value no matter what

I have 3 columns of interest. Column A is a list of numbers written out as strings. (seven, eleven, nineteen) Column B is a list of numbers as numbers. (7, 11,19) Cell C1 has the formula: =LOOKUP(&...
Chris's user avatar
  • 15
0 votes
0 answers
57 views

HLOOKUP & SUM functions in excel

working with the below data frame and would like to do a HLOOKUP() & SUM() like below: Ideally, what I would like to get is 67 as a result, based on the search of "A" and summing the ...
Bubbles's user avatar
  • 455
0 votes
1 answer
29 views

google Lookup is giving wrong values

VLook up function I have 2 columns - activity and dependency. In row I want to get time required by dependency. In the image - last column is expected output, and second last column is what I have got ...
forvaidya's user avatar
  • 3,051
0 votes
0 answers
45 views

freeCodeCamp Challenge - Basic Javascript - Profile Lookup Solution

I want to know which one should I use between two approaches. Profile Lookup challenge. I've got to a solution and it did work in this case. But, after this, I was looking for a different solution in ...
Murilo Cabral's user avatar
0 votes
0 answers
52 views

Helm lookup weird behavior in the beginning of a yaml

I have a yaml file for generating a k8s secret: {{- $secret_name := printf "%s-%s" .Values.app.secret.name .Values.stage -}} {{- if not (lookup "v1" "Secret" .Release....
Lev Ten's user avatar
0 votes
0 answers
17 views

How To Return Summation of Last Non Blank Value of Each Product

I have a table that contains information of date, site, product and balance. Date Site Product Balance 1-Jan-23 A A1 100 1-Jan-23 A A2 120 2-Jan-23 B B1 200 2-Jan-23 A A1 130 1 Feb 23 B B1 50 ...
Nur Holis's user avatar
0 votes
4 answers
103 views

Merge two objects by join field in javascript

I have project details , which I am getting from two calles, first call contains few fields and another one contains few fields of project details. I have to merge. projectDetails1 [{ ProjectID: 284,...
Sun's user avatar
  • 3,454
1 vote
7 answers
152 views

filtering array with multiple same properties

so I have an array of values like this const foodsList = [ { foodOrigin: "Padang", foodName: "Nasi Padang", originCode: "PDN" }, { foodOrigin: "...
a fan of fried rice's user avatar
0 votes
0 answers
13 views

How to write a apex code for add name and lookup field on lead object (display both fields as one name)

Apex nd trigger on lead object name+lookup field name Import data from other object by list(case object) nd taking 2 for loops then compare , taking if condition for comparing lookup field in lead nd ...
Prashanth's user avatar

1
2 3 4 5
73