I am using my data source as an excel and trying to filter my list using the below
Filter(Travel,Travel.Email=User().Email)
But it show invalid argument type, I have tried In and ExactIn but those does not work.
Any help would be appreciated.
Solved! Go to Solution.
Assuming that Email is a column in the Travel list, then you don't need to specify the list name the filter expression. This should work:
Filter(Travel, Email = User().Email)
The term 'Email' in the expression above is bound to each individual item in the Travel list that is being filtered.
When you say 'Travel.Email', you're referring to all of the values of the Email column in the Travel list, and that cannot be compared with a single value, which is why you see the error you have.
Assuming that Email is a column in the Travel list, then you don't need to specify the list name the filter expression. This should work:
Filter(Travel, Email = User().Email)
The term 'Email' in the expression above is bound to each individual item in the Travel list that is being filtered.
When you say 'Travel.Email', you're referring to all of the values of the Email column in the Travel list, and that cannot be compared with a single value, which is why you see the error you have.
You are right Email=User().Email..I wrote wrongly as Travel and thanks for the correction,
TQ
Great, that works. Thank you
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 |
---|---|
181 | |
52 | |
41 | |
38 | |
33 |
User | Count |
---|---|
246 | |
80 | |
71 | |
69 | |
66 |