The query returned no rows.
Asked by tippani sri satya sai durga prasad:

hi, Is there any way to display empty table instead of below message("The query returned no rows)?

![Capture2.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/168708iA7A20806016E4E52/image-size/large?v=v2&px=999 "Capture2.PNG")

i have a query. if no yellow and red records then it wii display a empty result instead of "the query returned no rows"

![Capture3.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/168703i50698A813682127B/image-size/large?v=v2&px=999 "Capture3.PNG")

my expected output if no records are there see below image

![Capture9.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/168720i224DB7A8A994C865/image-size/large?v=v2&px=999 "Capture9.PNG")

is there any possible way?

can any one help us?


Answers:
author: Katerina Kovriga {Stiltsoft}
body: Hi [@tippani sri satya sai durga prasad](/t5/user/viewprofilepage/user-id/4629853) ,

We can suggest removing the "The query returned no rows." message using the CSS:

![Wed 1-1.png](https://community.atlassian.com/t5/image/serverpage/image-id/168717i4274BF2EE3AC0C29/image-size/large?v=v2&px=999 "Wed 1-1.png")

![Wed 1-2.png](https://community.atlassian.com/t5/image/serverpage/image-id/168718iFF692232F20C39DB/image-size/large?v=v2&px=999 "Wed 1-2.png")

```
<style> 

.table-joiner .wrapper .aui-message.info.aui-message-info { 

display: none; 

} 

</style>
```

![Wed 1-3.png](https://community.atlassian.com/t5/image/serverpage/image-id/168719iC1A0F470B9D6AB1C/image-size/large?v=v2&px=999 "Wed 1-3.png")

Now your users won't see any confusing messages.

comments: author: Katerina Kovriga {Stiltsoft}
body: Don't know why, but I didn't see your last screenshot while answering - to add an empty table, you'll need another Table Transformer macro and this empty table as well (the CSS still remains the same):

![Wed 1-4.png](https://community.atlassian.com/t5/image/serverpage/image-id/168728i32F80548A0F76E41/image-size/large?v=v2&px=999 "Wed 1-4.png")

The query for the second Table Transformer: SELECT \* FROM T1

And here is your page in the view mode:

![Wed 1-5.png](https://community.atlassian.com/t5/image/serverpage/image-id/168731i443EB22291726FBB/image-size/large?v=v2&px=999 "Wed 1-5.png")


author: Ram Chandrasekaran
body: Hi [@Katerina Kovriga {Stiltsoft}](/t5/user/viewprofilepage/user-id/1464746) , where should the CSS go? I cannot find a place to add it within the Table Transformer. Any help is much appreciated.

Thank you

Ram


author: Ram Chandrasekaran
body: BTW, just read through your other responses. Turns out, I cannot use HTML macro in our Confluence Server, so that's out of the question. Need a workaround if there is one. Thanks very much.


author: Katerina Rudkovskaya [Stiltsoft]
body: Hi [@Ram Chandrasekaran](/t5/user/viewprofilepage/user-id/5292432),

Please notice that if you update the app, you can use the Messages customization option right in Table Transformer to hide the message:

![2023-08-15_18h47_31.png](https://community.atlassian.com/t5/image/serverpage/image-id/275260i46E32BB372B1D9FB/image-size/large?v=v2&px=999 "2023-08-15_18h47_31.png")


Tags: filter

ms-excel

table