Forum Discussion
Anonymous
4 years agoNot applicable
Find text string in another table
Hello all, Our customer is creating tickets in their ticket system, which we mirror in our own ticket system. The data of our customer looks as follows: SummaryCustomer DescriptionCustom...
- 4 years ago
Anonymous,
Try this calculated column in InternalTable:
Source = VAR vTable = FILTER ( CustomerTable, VAR vCustomerValue = CustomerTable[SummaryCustomer] RETURN CONTAINSSTRING ( InternalTable[Summary], vCustomerValue ) ) VAR vResult = IF ( COUNTROWS ( vTable ), "Customer", "Internal" ) RETURN vResult
DataInsights
4 years agoSuper User
Anonymous,
Try this calculated column in InternalTable:
Source =
VAR vTable =
FILTER (
CustomerTable,
VAR vCustomerValue = CustomerTable[SummaryCustomer]
RETURN
CONTAINSSTRING ( InternalTable[Summary], vCustomerValue )
)
VAR vResult =
IF ( COUNTROWS ( vTable ), "Customer", "Internal" )
RETURN
vResult