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.
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?
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.
WarrenBelz
146,618
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,948
Most Valuable Professional