I need to use CONTAINS to search in Table A a column value and compare it to a column value in Table B.
Is this possible?
I have this and it obviously is not working:
SELECT(Rental Tickets[Min_Start_Date],
AND(
[Customer_Name]= [_THISROW].[Customer_Name],
Contains([Ticket_Action], “On Rent”,
CONTAINS(Rental Tickets([Item_List], [_ThisRow].[Inventory_Item_ID]= [Inventory_Item_ID]))))
)
)
This portion of your expression is so wrong that I can’t even figure out what you’re trying to do. Can you explain it further? Your first argument is a List, but you’re using CONTAINS (see above), and your second argument is an equality, which will return a TRUE or FALSE value, which makes zero sense in this circumstance.
Yeah. I have lost all concepts here. I need to look in a Table B - in a column. In that column I need to look for an [ID]. So the column will have data but will contain somewhere in it an [ID]. I need to match that [ID] to the [ID] in this table - Table A. If the {ID] matches from Table A and this column contains that same [ID] then i need that date - [Min_Start_date] from the Table A.
Table A - is where I am doing this expression.
Table B- is where I need to compare the [ID] (in Table A) to the values in column [Item_List]. If [Item_list] contains the [ID] that matches the [ID] in Table A - then I want to show the [Min_Start_date] from Table A.
Is it possible to only give one [Min_Start_date]? I am getting all data in a list - because I used SELECT. But I only need the one date [Min_Start_Date] that is given for that match.
Here the assets table gives me the list of assets. When I click on an asset, I see all the date values instead of just the one asset row I clicked on: