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 / '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,705 Super User 2026 Season 1 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 796

#2
Valantis Profile Picture

Valantis 671

#3
Haque Profile Picture

Haque 551

Last 30 days Overall leaderboard