I have two screens, with one data table and an edit form to view the selected row of the data table, using the same filtering logic and the same collection to display the data; however, one data table does not re-filter the data while the other works perfectly fine.
Before navigating to the screen, PowerApps collects the record to use in the filter as a collection (PursuitRcd), and then on the navigated to screen the data table filters a collection of information using a field of PursuitRcd. This works for the first record I select; however, when I go into a new record and the PursuitRcd changes (and I know it successfully changes as I display the title of the record using PursuitRcd.Tile), the data table does not re-filter the collection for it's items. The odd part is it works in the edit mode, just not when live in the browser.
This process is also working perfectly fine for another screen that is built the exact same way, filtering another collection of information with the PursuitRcd.
Please help! I am out of ideas on how to fix this.
Hi @cshilson,
Could you please share more details about the formula used within the Data Table?
Please take a note for the current limits of Data Table control:
Data table control in PowerApps
Regards,
Michael
Hi Michael.
Thank you for responding. Attached is an image of the screen set-up and the formulas that generate the data. As I mentioned, the data is correct when I am in the production-mode "Play Mode" but when I publish it and it is used within the browser, it populates the correct data the first time, but the same data appears when I change the "PursuitRcd" item in the collection. The title at the top changes to the right Pursuit (Project Name) but the competitors it is listing are those of the last record I was in.
PursuitRcd is a collection based on the record selected in the previous screen. It has only one item in it.
User | Count |
---|---|
198 | |
105 | |
88 | |
45 | |
43 |
User | Count |
---|---|
245 | |
105 | |
103 | |
65 | |
60 |