I am trying to use a global variable like this:
Navigate(DetailViewScreen, ScreenTransition.None, {selectedID: DataCardValue14})
This is returning a control type variable, when I need it to be an integer so I can compare an ID from another list on the following screen to this variable.
This looks like the following:
Filter(LineItems, ReportID.Value = selectedID)
The above code gives an error of invalid arguement type.
Please help!
Solved! Go to Solution.
Hi @jaredt17
Assuming that DataCardValue14 is a text input control or label, you can probably fix this problem by referring to the Text property like so.
Navigate(DetailViewScreen, ScreenTransition.None, {selectedID: DataCardValue14.Text})
Hi @jaredt17
Assuming that DataCardValue14 is a text input control or label, you can probably fix this problem by referring to the Text property like so.
Navigate(DetailViewScreen, ScreenTransition.None, {selectedID: DataCardValue14.Text})
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
203 | |
45 | |
45 | |
44 | |
39 |
User | Count |
---|---|
279 | |
81 | |
79 | |
79 | |
69 |