web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to Not send out at...
Power Automate
Unanswered

How to Not send out attachment in an email when there is no data in the paginated report.

(0) ShareShare
ReportReport
Posted on by 6

Hi,

We have requirement for our paginated reports power automate flow --> If there is no Data in the report we are not supposed to send out the empty attachment in the email. Is there any function we can use for this  requirement? 

 

We have that option in SAP Business objects, but I cant seems to find the option in PowerBI/Power Automate.

Categories:
I have the same question (0)
  • jiwhite Profile Picture
    500 on at

    Have you tried checking whether the content of the report is null or its length before emailing?

  • usman1158 Profile Picture
    6 on at

    how do we check that ? is it possible we can check that in Power Automate flow itself ?

  • usman1158 Profile Picture
    6 on at

    we basically have Prompts in the report and those prompts kind of work after the report has fetched all the data.

    So we open the paginated report on Workspace, and it brings al the data, and we select the prompts( parameters) and then the related data shows up. Now in the option of showing Null in the flow, we do have that option, but then it only shows the DAX query without the parameter, so basically it will look for the NULL data for the entire data and not for the ones specified in the report.

    So question, we have a DAX query in the Flows, is it possible how to add the parameter selected value in the DAX query ? I have not worked with DAX query before, so wanted to understand how to add the where clause of that paramter in the dax itself 

  • usman1158 Profile Picture
    6 on at

    for this query below, i just need to add a where clause  sender_id = 77110, how do we add where clause n DAX ?

     

    // DAX Query
    DEFINE
    VAR __DS0Core =
    SUMMARIZE(
    'Query1',
    'Query1'[dest_id],
    'Query1'[edi_file],
    'Query1'[file_name],
    'Query1'[insert_dt],
    'Query1'[notes],
    'Query1'[receiver_id],
    'Query1'[ref_id],
    'Query1'[sender_id],
    'Query1'[status_ind],
    'Query1'[sum],
    'Query1'[tracking_id],
    'Query1'[trans_type],
    'Query1'[task_count]
    )

    VAR __DS0PrimaryWindowed =
    TOPN(
    501,
    __DS0Core,
    'Query1'[dest_id],
    1,
    'Query1'[edi_file],
    1,
    'Query1'[file_name],
    1,
    'Query1'[insert_dt],
    1,
    'Query1'[notes],
    1,
    'Query1'[receiver_id],
    1,
    'Query1'[ref_id],
    1,
    'Query1'[sender_id],
    1,
    'Query1'[status_ind],
    1,
    'Query1'[sum],
    1,
    'Query1'[tracking_id],
    1,
    'Query1'[trans_type],
    1,
    'Query1'[task_count],
    1
    )

    EVALUATE
    __DS0PrimaryWindowed

    ORDER BY
    'Query1'[dest_id],
    'Query1'[edi_file],
    'Query1'[file_name],
    'Query1'[insert_dt],
    'Query1'[notes],
    'Query1'[receiver_id],
    'Query1'[ref_id],
    'Query1'[sender_id],
    'Query1'[status_ind],
    'Query1'[sum],
    'Query1'[tracking_id],
    'Query1'[trans_type],
    'Query1'[task_count]

  • jiwhite Profile Picture
    500 on at

    Post a screenshot of your flow with identifying information blacked out for a recommendation on how to check in the flow.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 427

#2
Vish WR Profile Picture

Vish WR 316

#3
David_MA Profile Picture

David_MA 260 Super User 2026 Season 1

Last 30 days Overall leaderboard