I want to create button that clear Data in Column I make gallery That have 2 Column is Flavor and Quantity and I want to make a button that went i press It delete data in that column example i click button on ID2 it Delete "vanilla" and click on ID3 it Delete "Strawberry" like picture below . I try " Patch (MySharepointname , {ID: Value(ThisItem.ID)},{Flavor:Label13.text}); *Label13 has no text " but it won't work any idea to do this
Solved! Go to Solution.
Hi @Alicekings ,
Sorry, I misunderstood your requirements - try
UpdateIf(
MySharepointname,
ID = Value(ThisItem.ID),
{Flavor:""}
)
I am assuming that ID = Value(ThisItem.ID) is valid from where you are running it
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
You need Remove/RemoveIf functionality.
Please have a read - if you get stuck, happy to lend a hand.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
I try that too but All my Column gone too I want only data in column "Flavor" remove // Remove(
MyDataSource,
{ID: Value(ThisItem.ID)},Flavor);
Hi @Alicekings ,
Sorry, I misunderstood your requirements - try
UpdateIf(
MySharepointname,
ID = Value(ThisItem.ID),
{Flavor:""}
)
I am assuming that ID = Value(ThisItem.ID) is valid from where you are running it
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Thank you that work perfectly . but may i ask what if i want to remove the column that type is person and group not a text . any suggestion to help me out
I am not completely familiar with person columns as I do not use them,however have a look the collection View> Collections. If you can see a text value, the same should work.
User | Count |
---|---|
255 | |
114 | |
94 | |
48 | |
38 |