Title: filtering
Last modified: August 21, 2016

---

# filtering

 *  Resolved [hoopsparent](https://wordpress.org/support/users/hoopsparent/)
 * (@hoopsparent)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/filtering-7/)
 * i want to use a filter where it will show only the results if a particular column
   is empty/null.
 * the main tab shows full sports schedule but i want to display on matches that
   don’t have a win or loss in results column that is hidden.
 * [http://piedmonthighboosters.org/golf/](http://piedmonthighboosters.org/golf/)
 * [http://wordpress.org/plugins/tablepress/](http://wordpress.org/plugins/tablepress/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/filtering-7/#post-4217929)
 * Hi,
 * thanks for your post.
 * Just to be sure, you are refering to filtering with the Row Filter Extension 
   here, right?
 * Then, filtering for tables that are empty or null is not really possible, as 
   that’s not a valid search term.
 * Instead, I’d suggest to fill these empty cells with something like “TBA” or “-”
   and then filter for that.
    Would that be a possibility?
 * Regards,
    Tobias
 *  Thread Starter [hoopsparent](https://wordpress.org/support/users/hoopsparent/)
 * (@hoopsparent)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/filtering-7/#post-4218002)
 * I didn’t explain it my request very well. I have one table that has all the data
   that I use to populate two different summaries on wordpress.
 * the table consists of all the schools teams game schedule details (i.e. date,
   time, opponent etc) and the results of the games (i.e. wins/loss score) i use
   row filter extension to put the data for each team on their page and i use hide
   columns filtering to show schedule of their games and then different hide columns
   to show games results.
 * so for a team like volleyball that has 24 games each season mid season you would
   see on the results page all the games they have either won or lost and on the
   upcoming (schedule) page you only the remaining games that they have yet played.
   currently both pages are showing all 24 games with data missing.
 * so if i can filter further the tables to show on “upcoming” only the games that
   have null in the results column that would give me only the data i want shown.
 * tks for your help
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/filtering-7/#post-4218018)
 * Hi,
 * thanks for that explanation!
 * Now, I might still be misunderstanding this, but using eg. “-” instead of the
   score should achieve this. With that, a Shortcode like
 *     ```
       [table id=123 filter="WIN||LOSS" /]
       ```
   
 * would give you the correct data for the “Results” page, whereas
 *     ```
       [table id=123 filter="-" /]
       ```
   
 * would give you all games that have not yet been played, i.e. “upcoming”.
 * Or am I still not getting it? Sorry 🙁 Can you then maybe post a link to the 
   full table that you want to filter on some more?
 * Regards,
    Tobias
 *  Thread Starter [hoopsparent](https://wordpress.org/support/users/hoopsparent/)
 * (@hoopsparent)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/filtering-7/#post-4218035)
 * Here is golf full table:
    [http://piedmonthighboosters.org/golf-w-v-all/](http://piedmonthighboosters.org/golf-w-v-all/)
   with this shortcode [table id=72 filter=”GOLF-W-V” /]
 * Golf table with wins only
    [http://piedmonthighboosters.org/golf-w-v-win/](http://piedmonthighboosters.org/golf-w-v-win/)
   with this shortcode: [table id=72 filter=”GOLF-W-V&&WIN” /]
 * Golf table with wins & losses BUT RESULTED IN ZERO RESULTS INSTEAD OF WINS AND
   LOSSES
    [http://piedmonthighboosters.org/golf-w-v-win-loss/](http://piedmonthighboosters.org/golf-w-v-win-loss/)
   with this shortcode: [table id=72 filter=”GOLF-W-V&&WIN||LOSS” /]
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/filtering-7/#post-4218070)
 * Hi,
 * thanks for those examples! Now I know what’s happening.
    The problem is that 
   the Row Filter Extension does not yet support different logical connectors as
   in
 *     ```
       [table id=72 filter="GOLF-W-V&&WIN||LOSS" /]
       ```
   
 * Internally, this is basically translated to “Filter for ‘GOLF-W-V’ AND ‘WIN||
   LOSS'”. It is not possible to use “AND” and “OR” in the same filter query 🙁 
   Sorry.
 * As a workaround, you could therefore experiment with another (hidden) column,
   that e.g. has values like “played” and “not-played”. Using
 *     ```
       [table id=72 filter="GOLF-W-V&&played" /]
       ```
   
 * would then give you the output that you would like for
 *     ```
       [table id=72 filter="GOLF-W-V&&WIN||LOSS" /]
       ```
   
 * while
 *     ```
       [table id=72 filter="GOLF-W-V&&not-played" /]
       ```
   
 * would give you the games that have not yet been played.
 * Regards,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘filtering’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/filtering-7/#post-4218070)
 * Status: resolved