Black Lives Matter. Please consider donating to Black Girls Code today.

Multiple condition cell formatting with empty cells

Hey, so I am trying to selectively color cells, but I also get cells colored when the cell is empty (the value for it does not exists), any one knows how to solve that? I think my syntax might be wrong, but I experimented with it.

style_data_conditional =[{
        'if': {
            'column_id': 'P',
            'filter_query': '{P} != 0 && {P} != ""',
        'backgroundColor': '#e134eb',
        'color': 'white'