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 / Loop through 2 filters...
Power Automate
Unanswered

Loop through 2 filters on a report that equal each other

(0) ShareShare
ReportReport
Posted on by 18

I have 2 filters on a report, Distributor number and company number. Each handle a few views on the report. I need to build a power bi to PDF export that checks if both filters equal each other, only those results should be exported. Before this, I had the export working when there was only 1 filter, but now with the second filter, I'm having trouble. So far, I've gotten the report to export, but it's not actually applying the filter to the report.

 

So what I need is that, for Each Distributor, I need to match the Company, so both filters have the same value. I would like to do this on the data end, but because they come from 2 different sources, I don't really have a way to join the tables so that's why we're needing to have 2 filters, otherwise the best thing would've been to just join the data, have 1 filter and we're good. 

 

I tried applying a condition where the Distributor = Company, but that doesn't work. It runs through the list of distributors and the workflow would just end, and it doesn't export anything. I tried that both as a Control Condition and Filter Array, neither worked. 

 

This post here is pretty much what I need, but I need it to export it to pdf and loop through all the Distributor numbers. 

 

Below is a screenshot of my flow:

Untitled.png

 

What I'm doing here is putting both Distributor and Company and passing it as an array, looping through for each Distributor number.  And then in my Power BI report level filter I'm putting in the table name and column name (which is the Distributor filter) has to equal each Company name, and based on that filter out the report. It exports for each distributor, but the filter isn't actually applying and the PDF's come out all the same. Any help on this would be greatly appreciated!!

Categories:
I have the same question (0)

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 62 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 58

#3
Expiscornovus Profile Picture

Expiscornovus 39 Most Valuable Professional

Last 30 days Overall leaderboard