Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4041

How to check for empty data source

$
0
0

I'm trying to show a different panel when the data set is empty using the following script in the data source on change event:    

 

if (DS_1.isResultSetEmpty())

{

  PANEL_ASSETS_NOT_FOUND.setVisible(true);

}

else

{

  PANEL_ASSETS_NOT_FOUND.setVisible(false);

}

 

However the data source is never empty. Yet, when I apply filters to the data set the chart control displays the "No data found" message.

 

The first time the dashboard loads up there is data in DS_1. When filters are applied there is no data in DS_1.

 

I've tried using .getMembers and .getDeminsions and they are arrays with length greater then zero.

 

If I am unable to use the isResultSetEmpty() method on the data source?

 

Thanks for your help,

Pete


Viewing all articles
Browse latest Browse all 4041

Trending Articles



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