i need help please
I have a gallery connected to various data sources using an "if" formula, and I want to delete it when selecting an icon in the gallery, I have tried with the "remove" formula and as a data source I put the "if" formula and it gives me a error, tells me that this formula is not valid for that formula, Any solution?
Error =” the specified data source can not be used with this function”
any ideas??
thanks
Solved! Go to Solution.
Not know any language other than English but hey worth a go..
RemoveIf(Datasource,ID=ThisItem.ID)
get rid of the If functions and just do:
RemoveIf(Datasource,ID=ThisItem.ID);RemoveIf(Datasource,ID=ThisItem.ID);RemoveIf(Datasource,ID=ThisItem.ID)
Not know any language other than English but hey worth a go..
RemoveIf(Datasource,ID=ThisItem.ID)
get rid of the If functions and just do:
RemoveIf(Datasource,ID=ThisItem.ID);RemoveIf(Datasource,ID=ThisItem.ID);RemoveIf(Datasource,ID=ThisItem.ID)
I am facing the same issue here but i think either i am overseeing someting or you are
So lets say you have 2 datasources, lets call them S1 and S2.
S1 has 5 items so therefore lets say they each have id's incrementing (1,2,3,4,5), same for S2.
Now what happens when you apply above functions (lets say ThisItem.ID is 2), it will delete an item with ID 2 in S1 AND in S2 isn't it?
So i don't get why this removeIf with the nested if's is not working... it should be possible.
Let me know what you think about it please.
Kind regards
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 |
---|---|
183 | |
53 | |
41 | |
36 | |
30 |
User | Count |
---|---|
242 | |
82 | |
71 | |
69 | |
65 |