trying to get a null filter
Asked by Bruno Brendel Gomes:

In the issues, there's a field where it can pull a value or bring up those that are empty.

We've tried various ways to pull a filter that identifies empty fields, but we haven't been successful. Identifying the tickets with this empty field is of fundamental importance to solve future issues.

How to solve this problem?

![Captura de Tela 2024-04-22 a?s 10.39.51.png](/t5/image/serverpage/image-id/319856iB0D357BED2EDB34F/image-size/large?v=v2&px=999 "Captura de Tela 2024-04-22 a?s 10.39.51.png")


Answers:
author: Matthew Lempitsky
body: From the looks of your screenshot, it appears that the field you are trying to find the null values for is a custom field that is present  
in the Issue Field table. This table only has rows for values that ARE present and does not contain "empty" or null rows for issues that   
do not contain a value.

The way around this is to create a custom table for the field in question.

You can use this approach (substitute for your field in question) In my example, I am using the field Story Points:  

[![Atlassian_Data_Lake___Edit_Schema_2024-04-22T14:31:28.942Z.png](https://api.media.atlassian.com/file/bca4ab13-85e1-4f73-a8d7-782add8664cb/binary?token=eyJraWQiOiJtaWNyb3MtZ3JvdXAvY3N0LWF0dGFjaG1lbnRzL3E1cXM3N2c5ajAwYm1ncjkiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJtZWRpYSIsImNsaWVudElkIjoiYWJlMmIzMDUtMTM0ZS00ZGJmLWEzZTItZmNmNWU4ODBkM2RhIiwiYWNjZXNzIjp7InVybjpmaWxlc3RvcmU6ZmlsZToqIjpbImRlbGV0ZSJdLCJ1cm46ZmlsZXN0b3JlOmNvbGxlY3Rpb246NzIyOTI3MCI6WyJyZWFkIiwidXBkYXRlIiwiaW5zZXJ0Il0sInVybjpmaWxlc3RvcmU6dXBsb2FkOioiOlsicmVhZCIsImNyZWF0ZSIsInVwZGF0ZSIsImRlbGV0ZSJdLCJ1cm46ZmlsZXN0b3JlOnVwbG9hZCI6WyJjcmVhdGUiXSwidXJuOmZpbGVzdG9yZTpmaWxlIjpbImNyZWF0ZSJdLCJ1cm46ZmlsZXN0b3JlOmNodW5rOioiOlsicmVhZCIsImNyZWF0ZSJdfSwibmJmIjoxNzEzNzkzNDUwLCJpc3MiOiJtaWNyb3MtZ3JvdXAvY3N0LWF0dGFjaG1lbnRzIiwiZXhwIjoxNzEzODA0MjUwLCJpYXQiOjE3MTM3OTM0NTAsImp0aSI6IjBiNjUxMWFmLTQ2NDctNDUyMC04NDdhLTQ5NDA3MGNjMjgyYyJ9.AzlJtPV-o56b92yCKVTXqOacO57FFhZeyvLr7u5wWitiAPxGSHieZhVm6Qmjj-8VYKXP67Z3igwjCJ9H9iJWfjfv7c_9gdRcH889ZehU8uPWxtXX4FW2D8y91STj5M4gl7xTJ0SyxwvmI48Ah6snkDybjkJbWmndUt2q3O7-o1CFD8aRJYuXKAdkp36k8SPZgfSqquaqEE0eZ-xzodDb9GY72JLwR2kCVScJ_ZttSN72PBx09FHMmHcn42X6gghp21t__cTrpxk5CiSQWziCFw2R0WHfMhYFvEWyiZyzcWmNQP6-I6lz32bXTGD4Tegf2Je8lV3Ew9nZPM8bG5Zzdg&client=abe2b305-134e-4dbf-a3e2-fcf5e880d3da&collection=7229270&max-age=43200&dl=true)](https://api.media.atlassian.com/file/bca4ab13-85e1-4f73-a8d7-782add8664cb/binary?token=eyJraWQiOiJtaWNyb3MtZ3JvdXAvY3N0LWF0dGFjaG1lbnRzL3E1cXM3N2c5ajAwYm1ncjkiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJtZWRpYSIsImNsaWVudElkIjoiYWJlMmIzMDUtMTM0ZS00ZGJmLWEzZTItZmNmNWU4ODBkM2RhIiwiYWNjZXNzIjp7InVybjpmaWxlc3RvcmU6ZmlsZToqIjpbImRlbGV0ZSJdLCJ1cm46ZmlsZXN0b3JlOmNvbGxlY3Rpb246NzIyOTI3MCI6WyJyZWFkIiwidXBkYXRlIiwiaW5zZXJ0Il0sInVybjpmaWxlc3RvcmU6dXBsb2FkOioiOlsicmVhZCIsImNyZWF0ZSIsInVwZGF0ZSIsImRlbGV0ZSJdLCJ1cm46ZmlsZXN0b3JlOnVwbG9hZCI6WyJjcmVhdGUiXSwidXJuOmZpbGVzdG9yZTpmaWxlIjpbImNyZWF0ZSJdLCJ1cm46ZmlsZXN0b3JlOmNodW5rOioiOlsicmVhZCIsImNyZWF0ZSJdfSwibmJmIjoxNzEzNzkzNDUwLCJpc3MiOiJtaWNyb3MtZ3JvdXAvY3N0LWF0dGFjaG1lbnRzIiwiZXhwIjoxNzEzODA0MjUwLCJpYXQiOjE3MTM3OTM0NTAsImp0aSI6IjBiNjUxMWFmLTQ2NDctNDUyMC04NDdhLTQ5NDA3MGNjMjgyYyJ9.AzlJtPV-o56b92yCKVTXqOacO57FFhZeyvLr7u5wWitiAPxGSHieZhVm6Qmjj-8VYKXP67Z3igwjCJ9H9iJWfjfv7c_9gdRcH889ZehU8uPWxtXX4FW2D8y91STj5M4gl7xTJ0SyxwvmI48Ah6snkDybjkJbWmndUt2q3O7-o1CFD8aRJYuXKAdkp36k8SPZgfSqquaqEE0eZ-xzodDb9GY72JLwR2kCVScJ_ZttSN72PBx09FHMmHcn42X6gghp21t__cTrpxk5CiSQWziCFw2R0WHfMhYFvEWyiZyzcWmNQP6-I6lz32bXTGD4Tegf2Je8lV3Ew9nZPM8bG5Zzdg&client=abe2b305-134e-4dbf-a3e2-fcf5e880d3da&collection=7229270&max-age=43200&dl=true)

You will then have to ensure there is a foreign key relationship created for the issue_id column in your new custom table and that of the standard Jira Issue table.

You will then be able to use visual SQL to query where this column is NULL. This works because this table results in a row for every issue in the issue field table and creates the null value during the aggregation:  

[![Explore_-_Add_chart-18_2024-04-22T14:30:02.103Z.png](https://api.media.atlassian.com/file/3bfa5327-8ce6-4044-bc76-790c51e08b3a/binary?token=eyJraWQiOiJtaWNyb3MtZ3JvdXAvY3N0LWF0dGFjaG1lbnRzL3E1cXM3N2c5ajAwYm1ncjkiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJtZWRpYSIsImNsaWVudElkIjoiYWJlMmIzMDUtMTM0ZS00ZGJmLWEzZTItZmNmNWU4ODBkM2RhIiwiYWNjZXNzIjp7InVybjpmaWxlc3RvcmU6ZmlsZToqIjpbImRlbGV0ZSJdLCJ1cm46ZmlsZXN0b3JlOmNvbGxlY3Rpb246NzIyOTI3MCI6WyJyZWFkIiwidXBkYXRlIiwiaW5zZXJ0Il0sInVybjpmaWxlc3RvcmU6dXBsb2FkOioiOlsicmVhZCIsImNyZWF0ZSIsInVwZGF0ZSIsImRlbGV0ZSJdLCJ1cm46ZmlsZXN0b3JlOnVwbG9hZCI6WyJjcmVhdGUiXSwidXJuOmZpbGVzdG9yZTpmaWxlIjpbImNyZWF0ZSJdLCJ1cm46ZmlsZXN0b3JlOmNodW5rOioiOlsicmVhZCIsImNyZWF0ZSJdfSwibmJmIjoxNzEzNzkzNDUwLCJpc3MiOiJtaWNyb3MtZ3JvdXAvY3N0LWF0dGFjaG1lbnRzIiwiZXhwIjoxNzEzODA0MjUwLCJpYXQiOjE3MTM3OTM0NTAsImp0aSI6IjBiNjUxMWFmLTQ2NDctNDUyMC04NDdhLTQ5NDA3MGNjMjgyYyJ9.AzlJtPV-o56b92yCKVTXqOacO57FFhZeyvLr7u5wWitiAPxGSHieZhVm6Qmjj-8VYKXP67Z3igwjCJ9H9iJWfjfv7c_9gdRcH889ZehU8uPWxtXX4FW2D8y91STj5M4gl7xTJ0SyxwvmI48Ah6snkDybjkJbWmndUt2q3O7-o1CFD8aRJYuXKAdkp36k8SPZgfSqquaqEE0eZ-xzodDb9GY72JLwR2kCVScJ_ZttSN72PBx09FHMmHcn42X6gghp21t__cTrpxk5CiSQWziCFw2R0WHfMhYFvEWyiZyzcWmNQP6-I6lz32bXTGD4Tegf2Je8lV3Ew9nZPM8bG5Zzdg&client=abe2b305-134e-4dbf-a3e2-fcf5e880d3da&collection=7229270&max-age=43200&dl=true)](https://api.media.atlassian.com/file/3bfa5327-8ce6-4044-bc76-790c51e08b3a/binary?token=eyJraWQiOiJtaWNyb3MtZ3JvdXAvY3N0LWF0dGFjaG1lbnRzL3E1cXM3N2c5ajAwYm1ncjkiLCJhbGciO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I would love seeing this solution but the screenshots are not appearing!