You can use a RPE variable and assign true/false value to it based on whether the package has diagrams in it or not.
Use 2 containers - one to print diagrams (with condition hasDiagrams=="true") and another with Text element that prints "NA" (with condition hasDiagrams=="false").
Within the query that gives the diagrams, set the variable value to true and reset it to false outside the query (after printing the text "NA" based on condition hasDiagrams=="false". Attaching the screenshot for reference.
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means.
Learn more here.