Hi jonathanO,
I am not sure with the fkSaleID. What’s the data type of it? Is it in a different table with SaleID?
I test with two functions on my side, they are both working properly.
The first one, add a data source to one SQL table, then add a button and set its OnSelect property likes below. I can get the row for the specific id.
ClearCollect(test,Filter('[dbo].[a2]',id=50))
The second one, add another table as the data source, then add a button and set its OnSelect property as following. This function returns the items with the same id in two tables.
ClearCollect(test1,Filter('[dbo].[a2]',id in '[dbo].[Table_1]'.ID))
Please share more details to help reproduce this issue on my side. Hope what I did could be a reference for you.
Best regards,
Mabel Mao