Questions tagged [filtering]

Filtering is selecting a subset of some set of data based on various criteria. In signal processing, it is the complete or partial suppression of some aspect of the signal. Use this tag for questions asking for help with filtering datasets.

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

React sort by price menu

I am making an e-commerce with two menus: filter by category and sort by price (high to low and vice versa). I've already made a filter menu, but I am not sure how to create a sort by price menu. I ...
Igor's user avatar
  • 3
0 votes
0 answers
28 views

how to pick a column with a value in a given row, remove it and continue to next row doing the same in r

I have a dataframe of correlations between cases and controls. Some of these are perfect correlations based on their demographics, (ie they have the exact same combination of demographic values) and ...
Zoidberg_OuuuO's user avatar
1 vote
2 answers
92 views

EF Core - Filtering query on C# method (buffering vs streaming)

Scenario I have this code (simplified): var query = _context.Products .Where(x => x.IsActive) .Select(x => new ProductDto ...
thestahan's user avatar
-2 votes
0 answers
34 views

Filter multidimensional array of objects to keep objects where a specific column value is even [duplicate]

I have the an object containing an array of objects and I need to filter the orders subarray and only keep the rows where the id value is even. $object = (object) [ 'orders' => [ (...
sasha's user avatar
  • 9
0 votes
0 answers
7 views

SSRS Parameter for Expression

I have a matrix table in Report Builder where one of the columns is calculated by an expression, namely sum(units) / sum(deliveries). I want to filter the table so that it shows only certain rows, i.e....
Evie's user avatar
  • 1
0 votes
0 answers
9 views

Can't filter Chroma VectorDB answers based on directory path.... I have multiple PDFs saved in specific directory and want answers from those

I have 3 folders in Data folder of project. In every folder I have several PDFs. User will have option to select one or many folders out of them. Based on selected folders answer should come from LLM. ...
office laptop's user avatar
0 votes
1 answer
24 views

Filter table - every table row contains a dropdown

I have a datatable and every row should include a select item with several options, those are just examples. On top of the table is the default search bar and I want to filter my rows by the text of ...
ChrisS's user avatar
  • 1
-2 votes
4 answers
90 views

Array time slots: check for appointment availability by searched datetime and next 2 datetimes

I'm programming an appointment scheduling system. It checks several Google calendars. I divided the day (9:00 a.m. - 6:00 p.m.) into 10-minute slots. Now I have an array with the respective slots and ...
freshwebs's user avatar
0 votes
0 answers
11 views

I want to turn on and off the internet access of a certain IP or MAC address in my network with Python

I want to turn on and off the internet access of a certain IP or MAC address in my network with Python. I researched, but mostly they are interested in getting rid of Mac filtering (Mac spoof). Is it ...
Abuzer Kadayif's user avatar
-2 votes
0 answers
50 views

Remove results from an all-combination formula that contain an item that appears more than a specific, stated amount of times

I received a solution in the linked post to filter unique combinations from multiple columns. Unique combos formula Now I need to filter the results by removing the output cells that contain an item a ...
Capz65's user avatar
  • 1
0 votes
0 answers
13 views

Java Marr and Hildreth Filtering

I got this exercise: Exercise 4: Marr and Hildreth Filtering You will implement edge detection using two Gaussian filters with different amplitudes. Construct two Gaussian filters, of size 5x5 and 7x7,...
Daieth's user avatar
  • 3
0 votes
1 answer
28 views

PowerBI - Creating a list of month numbers (1-12) to apply to another table

I'm looking for some direction to achieve a usability change and my brain has just completely stalled. I currently have 2 tables in my Power BI model: Table 1: "FactTable". This contains a ...
Tattysnuc's user avatar
0 votes
1 answer
33 views

Scipy: Bessel iterative filtering different than single shot filtering

I have this piece of code that applies a Bessel filter: One-shot version: import scipy.signal fc_bessel = 0.14 # [Hz] ordre_bessel = 3 b,a = scipy.signal.bessel(ordre_bessel, fc_bessel, 'low', ...
jpo38's user avatar
  • 21k
0 votes
0 answers
14 views

Server side database query filtering and sorting from client data tables

I'm the author of a lit-based JavaScript web component library which includes some data models for data collections as well as user interface components like tables and lists. Currently it's all my ...
SammyRose's user avatar
-1 votes
0 answers
6 views

wordpress homepage beauty services filter

I would like to ask if it is possible to create a filter like the one shown in the picture, or should I use WooCommerce for this? Or some other plugin. Thank you very much for all the answers, I am ...
Wiktor Duda's user avatar
1 vote
1 answer
49 views

WPF: how to bind to a dictionary item from ContentTemplate of DatagridHeader

I'm trying to implement a filtering popup with combobox on a datagrid header. I'm trying to bind the itemsource of the combobox inside the popup to the content of the related column. To do this I'm ...
martin.p's user avatar
  • 343
3 votes
1 answer
54 views

RavenDb: Why filtering while string == null filters too much?

I want to filter the EquipmentEntity list by Type if it is specified (different from null). The type is a nullable string. Request: public class GetEquipmentsQuery : IQuery<List<EquipmentDto>&...
Zofi96's user avatar
  • 41
0 votes
1 answer
54 views

How to run a complex google sheet formula on multiple sets of filtered data

I have some data involving a dozen or so columns and a really complex formula that computes some value from that data. The formula is really big involving XIRR, MAP, GOOGLEFINANCE, INDEX, IF and many ...
Abhishek Jain's user avatar
4 votes
1 answer
68 views

Dyalog APL: How to filter an array like filter()

I need to filter out from the array (namespaces) all values that do not fulfil the required condition: field 'status' = 'TRADING' I use this variant tmpSymbolsT←(data←⎕JSON(HttpCommand.Get'api.binance....
конструктор's user avatar
0 votes
0 answers
9 views

Separate data and text from one cell to provide a duration with a summary

There. I am trying to solve a problem with our current data collection at my office. As of now every Friday the entire team use a shared excel sheet to update their assigned project about the next ...
Daniel Phillip's user avatar
1 vote
1 answer
73 views

Python Filtering OData Entity by Parent - Requests Library

I have an OData API I'm trying to query using the Python Requests library. I'm trying to filter a table based on the parent table for an incremental data pull. The children tables don't use a ...
krewsayder's user avatar
1 vote
2 answers
88 views

Create new variable in R based on certain values 2 years in a row

I am trying to use the UCDP Battle-related Deaths Dataset, called BattleDeaths_v22_1_conf from https://ucdp.uu.se/downloads/ (See under UCDP Battle-Related Deaths Dataset version 23.1) I want to ...
Maria Mola's user avatar
1 vote
1 answer
42 views

Select employees with no managers - two solutions

I found the below test task on some testing platforms. We have a table definition: CREATE TABLE employees ( id integer NOT NULL, name character varying(20), "managerId" integer, ...
Csaba Benko's user avatar
  • 1,141
0 votes
1 answer
24 views

keeping (filtering) observations in df1 based on a variable from another dataset (df2)

I have a large dataset (df1) with multiple observations per user (6 million rows), I want to only see observations from certain users. The selected list of users comes from another dataset (df2) (4000 ...
setareh seraj's user avatar
1 vote
1 answer
43 views

Power BI Slicer which select columns and not rows

I have a problem with the Power BI slicer. I have a tables that looks something like this: Table A: Date Article A Article B Article C 29. Nov $29.99 $129.99 $13.99 30. Nov $32.99 $132.99 $14.99 1....
Hannes Z's user avatar
0 votes
1 answer
25 views

Aligning cards after filtering with JS

When I filter the cards with JS and hide some of them, I want the remaining cards to take their place. <div class="mt-8 grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-10 ...
Blagoj's user avatar
  • 1
0 votes
0 answers
51 views

How to filter for multiple values in 3D numpy array

I need to filter a dataset that contains brain image intensity values and normalized values, layer labels and segmentation labels [brain region]. For example, if the unique values for the regions are ...
Datta's user avatar
  • 3
1 vote
1 answer
31 views

How to find out if more than one column is filtered

Let's assume I have a table called Campaigns and RangeCampaigns, I have written one DAX code which gets a total using that Campaigns table and another one getting a total from the RangeCampaigns table....
jcoke's user avatar
  • 1,741
0 votes
0 answers
15 views

execution time: woocommerce loading large dataset but needs filtered on the SQL side instead of script

I am running the latest woocommerce with PHP. I built backend portal from scratch using angularjs and custom PHP stuff on the "portal" which is private. on a daily basis, I pull orders from ...
Dustin Robinson's user avatar
0 votes
0 answers
42 views

Filtering on two values in column using XML

I have an issue with an entry form I am trying to filter values on. It is using XML and pulling information from a SQL database in the following format: PLX_UOM_ID UNIT_OF_MEASURE UOM_TYPE 1000 FT ...
b0redj0rd's user avatar
1 vote
1 answer
42 views

How to identify remove duplicates based on all columns except for one?

I have data like the following data frame, want to find the duplicates based on all the columns except for date, use that excluded column (date) to determine which rows are to be removed (only keep ...
user22757672's user avatar
0 votes
1 answer
26 views

How to do SNS filtering with prefix matching on String.Array type message attribute

Is there a way to apply SNS filtering to match all messages that has message attribute 'MyMessageAttribute ' ( type = String.Array ) and any of its value start with "MyPrefix" ? I have ...
Alan Shu's user avatar
0 votes
0 answers
19 views

Filtering MS Graph request

I'm trying to use Graph to get information on a adminstrative unit. I do know the name, but need the identifier for further queries. I could offcourse NOT filter the request and itterate over the ...
Peter's user avatar
  • 33
0 votes
3 answers
68 views

In Google Sheets, How Do I Produce a Column of Non-Dupe Values Between Two Columns

In this situation, Column A and Column B have a lot of similar values, but are non-identical and not in the same order. Without manipulating the two source columns, how can I create a Column C which ...
Steven Harkey's user avatar
0 votes
0 answers
46 views

Filter out pins having same clock attribute

Getting all fanin to the endpoint get_pins [all_fanin -to <end_point>/d -flat -startpoints_only] Above will give list of clocks pins coming to the endpoint. Now If I want to filter out clock ...
Raviraj's user avatar
  • 35
0 votes
0 answers
46 views

Filter and join tables dinamically using JPA

This is my very first time posting something on here, so I will try to keep it breif. I am looking for a way to get more information from my existing information by filtering and joining multiple ...
Pedro Velazquez's user avatar
0 votes
1 answer
38 views

Logic behind where and on generating different outputs in Mysql

Can someone please explain why are these two queries different output. Trying to understand the underlying logic. Query - 1 select u.id, (count(c.id)) comment_count from users u left join comments c ...
Uswa Mazhar's user avatar
0 votes
0 answers
26 views

Advanced Filtering in PowerBI Web Visuals Based on Date Slicer and Version Logic

I'm working on refining my PowerBI Web visuals and facing challenges with advanced filtering. I've been leveraging a date slicer to present data up to a selected date. However, this approach isn't ...
Horseman's user avatar
  • 317
0 votes
1 answer
25 views

wordpress woocommerce within products filtering taxonomy by another taxonomy

Is it possible to create such a search filter with WordPress? I am explaining it to you. This is an eCommerce car site. Here is a taxonomy that can be filtered by brand model and generation. When I ...
Ibrahim Khan's user avatar
0 votes
3 answers
70 views

Substitute/replace odd or even or custom occurrence of text within a cell

Excel cell has text as A-B-C-D-E-F. Replace 1, 3, 5th occurrence of '-' by '~' using an Excel formula. Output must be A~B-C~D-E~F Without using nested SUBSTITUTE function as below =SUBSTITUTE(...
Tauseef Shaikh's user avatar
3 votes
4 answers
72 views

Deleting rows after end of consecutive values

I'm working with a dataset where I would like to get rid of the rows for a person once consecutive days end. This is my starting dataset: df <- data.frame(person = c('A', 'A', 'A', 'B', 'B', 'B', '...
Alex's user avatar
  • 53
-1 votes
2 answers
29 views

How to correctly add requestBody in logs in LogRequestFilter?

I have the following LogRequestFilter in my project: @Slf4j @RequiredArgsConstructor public class LogRequestFilter extends OncePerRequestFilter { private final String POST = "POST"; ...
DonDon's user avatar
  • 3
0 votes
0 answers
38 views

How can Django QuerySet filters modify the fields for comparison? (Like inet6_aton for IP addresses.)

Take this MySQL database for example, which stores IP addresses as strings in either IPv4 or IPv6 format. name | ip ------+--------------------------------------- Tony | 127.0.0.1 Jones | 2001:db8:...
Ness's user avatar
  • 1,426
2 votes
1 answer
65 views

Rick and Morty React + TypeScript + Redux App - Why filtering is not working?

I have created an app that uses the Rick and Morty API to display a list of characters. Additionally, this app should be able to live filter the grid of results. This app also includes the ...
Imaginario27's user avatar
1 vote
2 answers
63 views

How to store JS selection data after page refresh

I am trying to create an ecommerce page. I want to make category selections with using checkboxes. It can make the filtering and give me the necessary data; the backend works. But when I change the ...
Onur Serbes's user avatar
0 votes
1 answer
56 views

Why is async filter slower than regular filter in kotlin?

If I have a huge collection that I want to filter the first thing I would try is this: import kotlin.system.measureTimeMillis import kotlinx.coroutines.coroutineScope suspend fun main() = ...
JBokMan95's user avatar
0 votes
0 answers
18 views

How do you filter pages on power bi?

Make use of filters that can be applied across pages and visuals, THIS IS WHAT I HAVE TO APPLY ON THE PROJECT I HAVE] I tried applying the filtering on one page of the report and it worked but thats ...
BEAUTY MAKUOA's user avatar
1 vote
1 answer
117 views

How to filter multiple inside the list of list using LINQ

I have a model here which is StudentModel and have a property list of sanctions public class StudentModel { public List<UserSanctionModel> Sanctions { get; set; } = new List<...
ccUU's user avatar
  • 11
0 votes
1 answer
20 views

Why the filter of previously calculated value is not working in Power BI

I have the dataset contains the PropertyID as a main key. Some of Properties has several Units. I created the Measure NumberOfUnitInProperty = DISTINCTCOUNT(dataset[Unit]) and want to filter the ...
Grigory Slepak's user avatar
0 votes
0 answers
30 views

Clicking a link in Excel to set autofilter on a different sheet

Want to know how data filters as per criteria once I click on the link. Dashboard sheet Machining sheet So here from the Dashboard sheet, once I click on the view plan (I2 cell) against Panel saw 1 (...
Shyam TME's user avatar

1
2 3 4 5
153