cancel
Showing results for 
Search instead for 
Did you mean: 

Display a message "No data avalaible for period xy"

Former Member
0 Kudos
78

Hi folks,

I have a report where the user is prompted to enter a date via a BW variable. Then a small time series is shown in report with the entered date and 90days before(e.g. 31.12., 31.03). Sometimes there is no data for a date.

Can I build a formula which lets display a message like "No data for 31.12."?

I tried this:

While {date_field} <= {?parameter} do

   if Isnull({key_figure)

then {date_field}

But the formula gives an error.

Anyone a different idea?

Thank you very much!

View Entire Topic
JWiseman
Active Contributor
0 Kudos

hello Seyhan,

have a look at the solution posted here.

this involves having a custom function that figures out which days are missing and creates an output for the missing days. the function is used on the details level so that for each day or set of days missing there is an output.

in this case the function outputs the days themselves, but you could easily customize the output of the function to display whatever you wanted.

cheers,

jamie