OBIEE Hide the Refresh link within the No Results view

Occasionally I’ve come across a requirement to remove the refresh link that is displayed on the No Results view. It doesn’t make sense to have a refresh link in this context and it can confuse your users. Here’s one solution:

Add a ‘No Results’ view to your report

<script type=”text/javascript”>
function removeRefresh(){
cols = document.getElementsByTagName(‘td’);
for (x=0; x<cols.length; x++) {
if (cols[x].className == ‘ResultLinksCell’ && cols[x].innerHTML.indexOf(‘Refresh’)!=-1)
cols[x].innerHTML = ”;
<p>Please change the dashboard filters and try again<p>

I hope this snippet helps someone out there.