I'm using Google Sheets and my database looks like this:
I have a query formula that changes dynamically based on the month:
my query:
=QUERY('database',"SELECT B,C WHERE A = '"&A1&"'") At the beginning of the months I don't have data, so I want to display something like this: 
I want the column userID permanent in all month, but the column name to display "NO DATA"
I already tried with IFNA or IFERROR but that won't work, because if there's no data, the query is still successful because it displays the column names.





