Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions tagged [filter]

A program or routine that blocks access to data that meet a particular criterion. An example would be a "Web filter" that screens out adult websites. Do NOT use this tag for Java servlet filters. Use [servlet-filters] instead.

1
vote
0answers
5 views

Setting up Custom Capabilities for Gravity forms

I have been using some code that has worked really well for integrating Gravity forms with s2member. I found this code snippet that works really well, add_action("gform_user_registered", "...
2
votes
1answer
36 views

Second row of filter vba

Here's the code: Sub test() Dim rCell As Range Set rCell = Rows(1, 0).Offset(2, 0).SpecialCells(xlCellTypeVisible).Cells(1, 1) If rCell <> "" Then MsgBox rCell.Value End If ...
0
votes
1answer
17 views

Ayuda con Filter javascript. Que estoy haciendo mal

SPANISH: Estoy intentando usar el Filter para filtrar un array de objetos. En el ejemplo estoy buscando a la persona que tenga el apellido materno "YUNIS". En teoría debería devolverme un solo objeto,...
0
votes
0answers
12 views

How to filter data within datagridview without use of datatable or get data back from database?

I have bounded data to datagridview as shown below without using datatable so I can control the data type of column and customize datagridview header not to be set it as it comes from query like make ...
0
votes
1answer
23 views

ShuffleJS FIlters OR + AND at the same time

I was wondering if it is possible to have several "data-groups" at the same time and filter them like this: <div data-st='["1", "2", "3"]' data-nd='["4", "5", "6"]' data-rd='["7", "8", "9"]' /> ...
0
votes
0answers
22 views

Datatables - remove 'x' in column filters [duplicate]

I am using datatables in a webpage PHP based. I want to remove the 'x' in column filters since it's not functional or if there is any way this comes functional. It is only functional to remove the ...
1
vote
2answers
37 views

Microsoft Access - Crosstab of a filtered form

I'm trying to generate a report similar to a crosstab. The data are from a filtered form (Dates and WorkerID (String)). form: frmReg table with data: tReg report: reportReg On the following line: ...
0
votes
2answers
39 views

Typescript array object filter

I'm trying to filter a array object in angular 5, this is my object { "id_record": 2, "groupName": "PD", "count": 15, "userList": [{ "name": "jeffhua", "nEmail"...
1
vote
0answers
31 views

Is there a optimised function in openCV to apply joint bilateral filtering using two guidance image?

Is there an optimized function in OpenCV to implement joint bilateral filtering using two guidance image? The current implementation is designed to work including, a guidance image and an input image ...
0
votes
2answers
35 views

How to use filter function to return perticular data in javascript

I have to return the email if the user_id from two different sources of data matches then it has to return the only email from the first source. the first source is from the table results from ...
3
votes
1answer
8k views

python pandas loc - filter for list of values [duplicate]

This should be incredibly easy, but I can't get it to work. I want to filter my dataset on two values. #this works, when I filter for one value df.loc[df['channel'] == 'sale'] #if I have to ...
0
votes
0answers
12 views

Filter Chart using Dropdown List in D3

I want to show the average value for "H_MEAN" in a single bar, with a target line showing the max "H_MEAN". I want those values to be filtered by the state selected. I've managed to populate the ...
-1
votes
2answers
18 views

Filtering a deeply nested array of objects

I have this array of objects with other arrays inside. Each object is a partner and each partner has 1 or several industries and solutions. What I'm trying to do in the first instance is filter the ...
1
vote
1answer
32 views

Advanced multiple checkbox filter with jquery

I want to filter my content using checkboxes and I got some references from 'StackOverflow'. The following is the code $(document).ready(function() { $('.post').show(); $('.menu-item')....
0
votes
0answers
24 views

Leaflet cluster and filter

I own a website, it was made with Google Maps API. Due the increase of costs, I had to remake all the site with Leaflet. I am not developer, just designer with some knowledge, so my code is not pretty ...
-1
votes
2answers
22 views

Pandas: Filter each client by different date

I have transactions of different customers. Customer | Ticket | Date | StartDate A 000 08-12-2017 01-01-2018 B 001 17-12-2017 01-01-2018 A 002 ...
0
votes
0answers
15 views

filter/hiding results using a calculated field

I have a list of cities set to ROWS. In the columns I have a Dimension named “New Default” which has answers of “Yes” and “No”. In the two columns of Yes and No I have a COUNT of units (Loan Number). ...
2
votes
6answers
826 views

Filter array for unique field values

I know there's many ways to filter arrays for unique values, but what about filtering arrays for objects with unique values for a given field? For example I have [obj1, obj2, obj3, ...] where each ...
0
votes
1answer
16 views

DataTables Second Header Row for Filtering

I am using the code from Individual Column Searching to add Select fields in the footer of every column to allow for filtering of the corresponding column. I want to have this be moved to the top to ...
1
vote
1answer
19 views

Oracle APEX IR - pass several filters with url

Is there a way to pass multiple filters to an Intractive Report via the URL? For one filter it works like this: /pls/apex/f?p=100:1:123456::::IRC_line:0
0
votes
1answer
13 views

Kettle ways to filter input csv

I'm new to kettle and I was experimenting with the tools it offers. I tried to make a csv file as input using the "Csv file input tool" and a csv output file using the "Text file output" tool and I ...
2
votes
2answers
42 views

How to get .json objects by id in Angular 2?

I'm trying to get objects by id from a JSON file after selecting an item from my drop-down list. So far I have managed to retrieve all the objects from JSON but not by ID. Typescript showInfo() { ...
1
vote
0answers
21 views

hibernate - omiting entries that

Situation: I have an entity (A) that links to the list of entities (B), Entity B can be in locked state I have a post load listener that throws exception when hibernate read the object of class B ...
0
votes
2answers
44 views

filter array of objects based on another array of objects and return merged array

I have an array of objects like this: phoneContacts= [ { firstName: "aaaa", lasttName: "aaaa", phoneNumbers: [{id: "1", label: "mobile", number: "09121111111"},{id: "1", label: "home", number:...
0
votes
1answer
22 views

What is difference between Noise Filters (Savitzki Golay) and Interpolation(interp1d) Python

I am wondering what is difference between filtering and interpolating data. I am now comparing savgol_filter(itp(xx), window_size, poly_order) and itp = interp1d(x,y, kind='nearest') I ...
0
votes
0answers
6 views

pixie.js installation + filter plugin

I included the pixie.js file manually with copy paste to my project. Now i want to install this pixie filter plugin: https://github.com/pixijs/pixi-filters After cloning the repo in my js folder for ...
0
votes
0answers
3k views

ASP.NET CORE & WEB API: Audit Trail or User activity logging

I created a UserActivity Logging or Audit trail using ServiceFilter. I couldn't use action filter as I need to pass the dependencies. I successfully logged the activities of the user. public class ...
0
votes
0answers
12 views

Limit occurence from a value in a column with pyspark

I would like to limit occurence from a value in pyspark. I've tried : table = table.filter(countDistinct(date_format(table['stamp'], 'yyyy-MM-dd')) == 4) But it doesn't work because I have an error ...
0
votes
0answers
5 views

Filtering Datagridview with wildcard

I have a datagridview that I filer using wildcards like this: [somecol] like "%sometext%" this works geat, but if i have the wildcard in the middle it does not work and crashes. [somecol] like "...
0
votes
1answer
36 views

Bootstrap/JQuery Table Filter is not working

I can´t figure out why the filter is not working. This is my input filed (which is the filter) an the table, both written in pug. input#myInput.form-control(type='text', placeholder='Search..') ...
0
votes
0answers
11 views

Cognos Report Studio- Filter when condition is true else return all value

I am trying to filter data based on a criteria but unable to. If you can suggest. Requirement: The filter to be applied for one set of values for a field and not others. Example: In the prompt page ...
4
votes
5answers
18k views

html canvas shape blur filter

There must be a way to do this. I have drawn a shape with the html5 canvas and I would like to blur it. As far as I know there is no native method so I assume a js library is needed. The problem is ...
0
votes
1answer
26 views

tag collision in rocketmq

RocketMQ supports filter by tag, where I dig into the source code of the Broker. It seems the broker do the following comparison: subscriptionData.getCodeSet().contains(tagsCode.intValue()); in org....
0
votes
1answer
35 views

From time domaine to frequency domain

I have a problem in my MATLAB program. I'm trying to find a cutoff frequency to create a low pass filter for compass data. I'm trying to go from the time domain to the frequency domain and find an Fc, ...
0
votes
1answer
20 views

How to filter multiple values from JSON and append the results to the TableView Swift4

I am trying to find a solution of how to filter multiple values from a local JSON file at the same time. The values come from UserDefaults (I have a viewController that has some buttons inside, when ...
0
votes
0answers
287 views

ADF URL Task Flow Call with HTTP POST Method

I have an issue about ADF URL Task Flow Call with HTTP POST method using JDeveloper 12c. I have a bounded task flow which can be invoked by some URL and task flow’s property "URL invoke" is set to "...
-1
votes
1answer
29 views

Angular ag-grid Sequence for filter order from Alphabetical [Default] into Custom order

I am trying to have my own custom filter order sequence on ag-grid filter. apart from default filter order [Alphabetical], I want to have own filtering sequence. As in the Ag-grid I'm able to ...
0
votes
0answers
19 views

Pandas Dataframe: check datatype of each element in a column python [duplicate]

I have a dataframe with one column (df['Score']). I need to filter the column for row that are non numeric Score 123 456 erg 45gw 123 763 list(filter(lambda x: x.isnumeric(),df['Score'])) I need ...
0
votes
2answers
71 views

Javascript, filter object list using string condition?

I have this object structure: var objList = [ { "age": 19, "valueField": 34, "booleanField": false }, { "age": 15, "valueField": 5, "booleanField": false }, { "age": 22, "valueField": 17,...
0
votes
0answers
25 views

why assigning value to specific index from returned array from filter method - will directly modify the array

I hope I gave it the proper title because it hard to explain but - As I know the filter method in JS - when you use it , it should return new filtered array follow the rules you give it. But now I ...
1
vote
0answers
26 views

Javascript Filter not working on IE [duplicate]

I hope you can help as I'm ripping my hair out. For some reason, the filter in the below code doesn't work on IE but it works on every other browser. values = values.filter( (val => val.value !== $...
1
vote
1answer
22 views

filtered elements using computed: problems with paginate in VueJS

I'm using Laravel and VueJs, I'm trying the following: I 've created a search bar to find users by their names, last name or email. I used computed to write my filter but I've realized that my ...
4
votes
2answers
2k views

Why use OncePerRequestFilter in Spring?

As the documentation say: Filter base class that aims to guarantee a single execution per request dispatch, on any servlet container. There's a question What is OncePerRequestFilter? I still ...
1
vote
3answers
42 views

How to use filter on link entity?

I'm using crm 2016 and trying to get a product (custom entity) records according to linkentity filtering, I need to get all products that have Active productstatus and the linked phonecall category is ...
0
votes
1answer
48 views

How to deal with params from form being nil? (NoMethodError)

So at the top of my view I created a little form which will let the user choose a semester and a field: <%= form_tag '', :method => :get do %> <%= collection_select(:semester, :...
1
vote
0answers
19 views

Django-filter Boolean Field with custom values

After successfully implementing crispy-forms and django-tables 2 it came for me to implement filtering in tables using django-filter and I am ripping my hair out. First of all I find it much worse ...
0
votes
2answers
32 views

dplyr: include all elements in filter list, even if not in data set

df1 Row Taste Quantity #1 Vanilla 3 #2 Chocolate 1 #3 Strawberry 6 I would like to filter the list and include a c(list) that has more flavors. But if the flavors ...
1
vote
1answer
35 views

Filter specific rows when loading csv file

So I have this POJO class: public class Player { @CsvBindByName private String simTime; @CsvBindByName private String playerId; @CsvBindByName private String dimX; @CsvBindByName private ...
-1
votes
0answers
5 views

Magento 2, Search results vary while searching in content of the product description

I'am having some trouble with the search function in Magento 2. While searching for a product, it will be found while using: the SKU, the product name, a part of the product name and some attributes ...
0
votes
2answers
26 views

Using .Filter When the Filter Criteria are in Pre-existing String (TypeScript/Node.js)

I'm trying to process an array of JSON objects that have various common attributes, filtering each array entry on one or more of those attributes. Normally, I'd just do it something like this: let ...