Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Chart shows blank area if no data

$
0
0

Hi,

I have a bar chart with values expression as below. When there is no data returning from table then chart shows blank area and legend. I want to show a message that says -No data available for this status. I have tried the property-No data message but it did not work for my case. Please suggest. Thanks in advance.

=IIF(Count( IIf(Fields!Status.Value = "Test"
            or Fields!Status.Value = "Test1"
        , Fields!Id.Value
        , Nothing)

)=0,Nothing,Count( IIf(Fields!AssetStatus.Value = "Test"
            or Fields!Status.Value = "Test1"
        , Fields!Id.Value
        , Nothing)))

Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>