cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Timmay48182
Regular Visitor

Delete Record functionality with Power BI integrated App

So this may not be due to the integration, but I am having an issue with putting in the ability to delete a record.  I am putting in a trash can icon and putting in "Remove('Table', This.Item) and I get an error, "Expecting a record value and passing text."  I paraphrased, but I am sure you all know the error.  I was curious if this is due to the integration or could it be because I have a couple columns in the "Choice" format in the List I am pulling from and writing to?  I also tried to do Remove('Table', gallery1.selected), but could not get that to work.  Any help would be appreciated.  

 

Thanks all.  

1 ACCEPTED SOLUTION

Accepted Solutions
v-yujincui-msft
Community Support
Community Support

Hi @Timmay48182 ,

 

Could you please share a screenshot of your App setup? That will make it much easier to assist.

Maybe you could check if the trash icon is placed in the right place.

vyujincuimsft_1-1655963467156.png

In addition, maybe you could try the following formula:

Remove(datasource,ThisItem)

or

RemoveIf(datasource,Gallery1.Selected.uniqueidentifiercolumn=uniqueidentifiercolumn)

 

 

Best Regards,

Charlie Choi

View solution in original post

2 REPLIES 2
v-yujincui-msft
Community Support
Community Support

Hi @Timmay48182 ,

 

Could you please share a screenshot of your App setup? That will make it much easier to assist.

Maybe you could check if the trash icon is placed in the right place.

vyujincuimsft_1-1655963467156.png

In addition, maybe you could try the following formula:

Remove(datasource,ThisItem)

or

RemoveIf(datasource,Gallery1.Selected.uniqueidentifiercolumn=uniqueidentifiercolumn)

 

 

Best Regards,

Charlie Choi

Timmay48182
Regular Visitor

The remove IF was the solution.  Thanks kindly for the help

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (1,507)