Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
shareezsaleem
Helper III
Helper III

Subscribe report with conditions

Hi Experts,

 

I have built a paginated report and started trigerring emails using Subcribe Report option.

Now, emails are going to the stakeholders on a daily basis.

But I wanted to stop send emails if the table is blank. How can I do that?


shareezsaleem_0-1686648854977.png

 

1 ACCEPTED SOLUTION
v-tangjie-msft
Community Support
Community Support

Hi @shareezsaleem ,

 

To stop sending emails when the table in your paginated report is blank, you can't directly achieve this using the built-in subscription feature. However, you can consider an alternative approach by using Power Automate  to conditionally trigger the email based on the report content.

Here's a high-level outline of the steps you can follow:

  1. Create a Power Automate flow.
  2. Use the Power BI connector to export your paginated report as a PDF or another format.
  3. Add a condition to check if the exported report content is blank or not.
  4. If the report content is not blank, use the Send an email action to send the report to the stakeholders.

Please refer to the following document for more information.

 Do not send email if table is empty - Power Platform Community (microsoft.com)

Dynamically Stop Email Subscriptions from send... - Microsoft Fabric Community

[HELP] Don't send emails if the table is empty - Power Platform Community (microsoft.com)

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

View solution in original post

1 REPLY 1
v-tangjie-msft
Community Support
Community Support

Hi @shareezsaleem ,

 

To stop sending emails when the table in your paginated report is blank, you can't directly achieve this using the built-in subscription feature. However, you can consider an alternative approach by using Power Automate  to conditionally trigger the email based on the report content.

Here's a high-level outline of the steps you can follow:

  1. Create a Power Automate flow.
  2. Use the Power BI connector to export your paginated report as a PDF or another format.
  3. Add a condition to check if the exported report content is blank or not.
  4. If the report content is not blank, use the Send an email action to send the report to the stakeholders.

Please refer to the following document for more information.

 Do not send email if table is empty - Power Platform Community (microsoft.com)

Dynamically Stop Email Subscriptions from send... - Microsoft Fabric Community

[HELP] Don't send emails if the table is empty - Power Platform Community (microsoft.com)

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.