Hello! I am new to PowerApps. I am loving it so far but I cannot for the life of me figure out a solution to the problem I am currently facing.
We've built a Power BI dashboard for a client with a PowerApp built-in. Currently, when a user selects a record in Power BI, it filters a gallery in the PowerApp to just the selected record, and then the user can select that record by clicking on the gallery item which takes them to the next relevant screen. This works fine but it is redundant as it effectively forces the user to click the same record twice in two separate places.
What we want is for the app to navigate to the next screen when the user selects the record in Power BI. I feel like I must be missing something, because it seems this would be very simple.
Is it possible to create a listener/event handler that triggers when an item is selected in PowerBI?
Alternatively, since selecting the record in PowerBI filters the data down to only the selected record, I was trying to implement a solution in which the app navigates to the correct screen when CountRows(PowerBIIntegration.Data.<column>) <=1.
Is there a way to set global navigation rules such as this? For example, I have a text label that renders CountRows(...). Can I execute Navigate() every time the value changes based on whether or not it is greater than 1?