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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / 'Run a query against a...
Power Automate
Unanswered

'Run a query against a dataset' returns wrong output. Need to apply filter first?

(0) ShareShare
ReportReport
Posted on by 1

I have a flow that includes a query against a Power BI dataset followed by a conditional switch that sends an email based on the output of the query. 

Power Automate - wrong output.PNG

The output I expect to see is "good" as that is the result of the field in the report. But the output I'm getting in Power Automate is "rev". I believe this is because the output of the query does not include the date filter. When I apply the date filter, my output is "good", when no filter is applied, it is "rev". 

Do I need to first apply a filter in my flow to match the filter that exists in my report? If so, how do I do that?

Power Automate - wrong output2.PNGPower Automate - wrong output3.PNG

Categories:
I have the same question (0)
  • lbendlin Profile Picture
    8,474 Super User 2025 Season 2 on at

    The Power Automate Visual in Power BI behaves like any other visual.  You decide if it is impacted by the data model and/or by user actions resulting in filter context modifications.   It cannot magically infer the current rendering status of other visuals on the page (and it doesn't need to as it is independent).

     

    So in your case the date filter need be applied either to the Power Automate visual or - better - added to the Page Level filters.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard