react-table filtering the data in the cell - react-table

I Have a react-table which I'm using for logs. The table has two columns: Id's and the log per Id.
The logs can be very long therefore I created a list (every sentence in the log is an "li"). In each cell in the Log column I have a list of strings.
Now I want the global filter to filter the list in the cell, meaning to show me only the Id's that have the filtering string and also to show me Only the filtered string and not the entire list of logs that Id has.
Is that possible?
TIA

Related

Create wikidata items from records in OpenRefine (and not rows)?

I read that OpenRefine Wikidata plugins always operates in row mode.
I am in a situation where I have data in records mode : The record is a serial/magazine, and the rows in this records are the various formats of the same serial/magazine (typically, paper and electronic version). Each row has a unique ISSN identifier.Wikidata considers there is only one item for the serial/magazine (my records), but no separate items for each of the formats (my rows).
When reconciling data to Wikidata, all rows of the same record will typically match the same wikidata item, or none of the rows will match, or sometines only one row of the record will match (e.g. if only one ISSN of the format - say paper format - is known in Wikidata, but not the others).
What I would like to do is create items in Wikidata for each records for which no reconciliation result was found (iow, for which no rows has matched), and not for each row. And, when creating this item, I would like to add the ISSNs of all the rows in this record.
I am wondering if it is possible to do that ? and how ?
Thanks
Yes, it is possible. You need to perform the reconciliation operation on the first column instead.
As mentioned by the documentation, use the Fill down operation on the first column, which defines your records;
Reconcile the column to Wikidata;
Then, the Create one new item for similar cells action (in the Reconcile -> Actions menu)
Create a schema where the first column is used as subject id.
Assuming the values in your first column are initially distinct (which is the case in your example), this will create one item per record.
In your example, because your first column contains ISSNs and not titles, I would first create a root column with titles instead (before the process explained above). In rows mode, facet to keep the first row of each record by selecting non-blank values in the first column, and then copy your column with titles, and move this new column in first position. This should ensure that reconciliation picks up existing items. Note that if the same title is used by multiple journals this will create a single item for both of them, unless you add other properties in your reconciliation configuration (such as ISSN).

If it is possible, how do I create a custom field containing a document number on NetSuite in a saved search?

In NetSuite, I am setting up a new (currently untitled) saved search that is meant to display three columns simultaneously: Invoice document number, Sales Order document number and Item Fulfillment document number.
I have configured my transaction saved search to display invoice document type. Sales Order document number is called Created From which is a NetSuite-created field and displays normally as desired.
There is a field called Document Number, unfortunately it responds closely to the criteria setting whether document types are set to Invoice or set to Item Fulfillment. Setting both does not meet my desired output.
I believe there is a way to somehow have all three document numbers present in the same saved search as their own unique columns.
While editing the saved search, I have attempted to create a new column called "Formula (text)" which is a field containing the formula {number}, this column appears as a second Invoice document number instead of the desired Item Fulfillment document number.
While editing the saved search, I have also tried another "Formula (text)" field containing the formula {tranid} which also results as another Invoice document number column instead of the desired Item Fulfillment document number.
Result of both above attempts: https://i.ibb.co/KyDP7Z5/2019-06-12-13-55-58-Window.png
I tried going to Customization > Lists, Records & Fields > Transaction Line Fields to create a new custom field, containing the above as defaulted formulas. The result is exactly that of the above image.
I tried going to Customization > Lists, Records & Fields > Transaction Body Fields to create a new custom field, where the content is referenced by another Saved Search. I expected that if I can pick the document number column from the "item fulfillment lookup" saved search, then that would appear as a separate column bearing the Item Fulfillment number.
I marked the document number column inside the "item fulfillment lookup" saved search as the summary type: "group" as well as give this saved search "Document Number" as an available filter in order for the "item fulfillment lookup" saved search to appear for custom columns.
Unfortunately, this yielded an empty blank column.
I know and I admit that I am doing something incorrect and would much appreciate it if there is an alternative solution or workaround to achieve this desired objective (all three document numbers to appear in a single saved search).
In your saved search Columns, at the end of the drop down list where you choose the columns, you can choose related records fields.
You didn't say which record your search is based on, but assuming your search criteria is on Sales Order, then you can use the following:
To get the related Item Fulfillment:
Fulfilling/Receiving Transaction Fields ... and then choose Document Number
To get the related Invoice:
Applying Transaction fields ... and then choose Document Number

Internal : Collection fields are defined but cannot be matched to the incoming collection - in blueprism

I want collect Financial historical data from NASDAQ link https://www.nasdaq.com/symbol/ge/historical. In this I am spying date element and using "get table" I can get whole table data for date, open, high,... which I am putting in collection but the thing is I am not able to give column name to collection. I made 6 field for each all 6 column you can see in image attched. But when i run the programv I get an error "Internal : Collection fields are defined but cannot be matched to the incoming collection - The collection definition does not contain the field Column1". if I dont add field I get data in collection which has default column name column 1, column 2, ...column 6 . But I want to have their specific column name. I think the problem is with the data type I am using while creating field in collection. I tried different combination for the data type but still...Please help me on that. enter image description hereimage 1image 2
image 3image 4
The error is exactly as it says; the fields cannot be matched; in other words, the fields should match. Since you get default field names from the Read stage, then you should either rename the fields before passing the collection to the process or have the collection receiving the collection at the process level have no fields defined (it will get the headers defined from the object and you can rename the fields after that, or just use the default column names, but that's not practical).
To rename the fields, you can use the default object "Utility - Collection Manipulation", either actions "Rename Collection Fields" or "Rename Field".
Rename Collection Fields
You will have to supply the collection containing the read table (Main Collection) and a collection containing the same headers as the collection containing the read table (New Headers), and in the first row, the new headers (it was designed like that, it's not that intuitive; it took me a good while to figure it out). The collection New Headers should look like the below:
Rename Field
For this one, you will need to loop over each header. Collection In will be the collection containing the read table, and you insert each header to change one at a time. (e.g. first loop iteration will have Column1 as Field Name and date as New Name, second loop iteration will have Column2 and open, etc)

Blueprism - Extract data from a web page into a collection

I am new to blue prism. I have a scenario where I am giving input (passengers details for traveling) to a travel portal and based on the input its generating a booking reference number, total cost etc. Now I want to read all the outputs into a collection but the problem is data is not tabular (cant use Get Table in read component). Its just the details of travel which are populating into textboxes. Please find attached the screen shot to have more clarity on this.
How to achieve this? Any leads will be appreciated.
Based on the screenshot you've provided, this is part of the Blue Prism Advanced Consolidation Exercise ("BPTravel").
"Get Table" won't work on this data because it is not a table. As you've mentioned, the data is presented in a series of textboxes.
The way to tabularize this data would be to create a Collection in your Process and manually define each of the Field Names in the collection, then read each text field in individually to the correct column in the collection.
Read each text box data into data item. Create a named collection (i.e Collection with pre-defined column name). Loop through the collection.column_name(You will be getting column name as collection by using Utility - Collection Manipulation action and get the column names) and first add a row to collection and assign values to collection fields

Deleting duplicate rows in MS ACCESS

I am making a table by combining columns of two tables. But there are few duplicate rows also. How do you delete duplicate rows from MS Access. I tried using the duplicate record query and also tried to use append query. But neither of them worked.
There are a couple of ways you can do this without using the Access wizards:
1. Run a Make Table Query and in the select statement use grouping for every column. If the tables have a unique ID, don't use the ID because that will make every record unique
2. Export a Select query with the columns you want from the two tables to an Excel workbook. Once in Excel go to the Data tab and click on the column header selector and click on the Remove Duplicates button. Make sure you expand the selection if it asks you. Then save and link the Excel Workbook to Access again and do whatever you need to do from there
There are more ways, but you'd have to provide more details as to what you're trying to accomplish

Resources