Show/Hide view based on field value

Currently, I have a calculated field that tracks the number of documents that a customer needs to supply to us.  On their opening dashboard upon logging in I wanted to create a message letting them know what that they are missing.  Was going to use a rich text view so I can customise the look.  I want to hide the view if their document total was above 0. 

The problem I have is the Page Rules only let me see the users details and not the records to determine whether to hide/show views.  If I add a detail view to show the record I get just the field name and a zero, which tells them some info but not presented the best.

Found some code on the How Do I to hide a view based on another field just can't get it to work.

$(document).on('knack-view-render.view_304', function(event, view, data) {
$("#view_313").css("visibility", "hidden");
$("#view_313").css("height", "0px");

I think my problem is in the if statement as I don't know what property to access from the field and just tried to cobble something together.

Any help would be appreciated.