I'm using powerapps to inventory tech at our campuses. Have the powerapps working perfectly. I want to use power automate to let users send selections to an email that has an attached CSV, embedded HTML, and attached PDF. Where I'm failing is the query. The query works on my gallery, but it fails in power automate. Here's a stripped down version to show the core of the query. The sharepoint list is 'Computer Peripherals Inventory'. The ddType and ddManuf are dropdown lists. Any help is greatly appreciated!
ExportTasks is my PowerAutomate.
ExportTasks.Run("Filter(
If(
ddType.Selected.Result = "All" and ddManuf.Selected.Result = "All", 'Computer Peripherals Inventory'))",User().Email);