1

Is there a way to configure SSRS (data-driven subscription?) to send reports in email only when the report contains data?

Lrn
  • 327
  • 2
  • 9
  • 18

1 Answers1

2

Unfortunately, there is no official configuration for "not send if no data". But you can try russch's workarounds. You can also find useful suggestions in comments. I prefer the raise error trick:

IF @@ROWCOUNT = 0 RAISERROR('No data', 16, 1)
walterhuang
  • 574
  • 13
  • 24