Hi I am trying to filter the Gallery with
Filter(
Beschaffungen;
'Created By'.Email = User().Email;
If(
FilterbyApproved = true;
Status.Value = "Abgeschlossen";
Status.Value <> ""
);
If(
FilterbyOffen = true;
Status.Value = "in Klärung mit EK" Or "in Klärung mit WL" Or "in Klärung mit AL";
Status.Value <> ""
)
)
but app check is showing warning that "filter" might not work with big datasets.
How can I improve this?
Solved! Go to Solution.
First, you cannot "Or" conditions like that in a formula. And second, you also cannot delegate a filter for not blank - <> ""
Based on your formula, I am not sure that you actually need the Status.Value <> "",
so, Please consider changing your Formula to the following:
Filter(Beschaffungen;
'Created By'.Email = User().Email;
!FilterbyApproved || Status.Value = "Abgeschlossen";
!FilterbyOffen || (Status.Value = "in Klärung mit EK" || Status.Value = "in Klärung mit WL" || Status.Value = "in Klärung mit AL")
)
I hope this is helpful for you.
First, you cannot "Or" conditions like that in a formula. And second, you also cannot delegate a filter for not blank - <> ""
Based on your formula, I am not sure that you actually need the Status.Value <> "",
so, Please consider changing your Formula to the following:
Filter(Beschaffungen;
'Created By'.Email = User().Email;
!FilterbyApproved || Status.Value = "Abgeschlossen";
!FilterbyOffen || (Status.Value = "in Klärung mit EK" || Status.Value = "in Klärung mit WL" || Status.Value = "in Klärung mit AL")
)
I hope this is helpful for you.
Thank you so much!! That worked👍
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 |
---|---|
182 | |
47 | |
46 | |
34 | |
33 |
User | Count |
---|---|
260 | |
87 | |
79 | |
68 | |
67 |