I have a Calculated column in table_1 which is a result of a measure that returns a string with several values in it. Each of these values represents a fault code and its format is DI followed by 4 digits. Now I have a second table (table_2) that has a list of faults codes, some of those fault codes can be found in the string of the calculated column from the 1st table. What I'm looking for is a measure that will return a 'True' statement if any row from the calculated column in the table1 has a fault code that is not on the list of fault codes from table2. Additionally will return a 'False' statement in case of all codes from the string of calculated column in table1 are present on the list of table_2. Please see a simplified example
The result should look as follow
So far I've managed to check if only the first value from the string in the calculated column of table 1 fulfils that condition. Unfortunately, I'm not able to apply it to the full string, Could someone support, please.
Table2 list
| List |
|--------|
| DI0001 |
| DI0002 |
| DI0003 |
| DI0004 |
| DI0005 |
| DI0006 |
| DI0007 |
| DI0008 |
| DI0009 |
| DI0011 |
| DI0013 |
| DI0015 |
| DI0105 |
| DI0107 |
| DI0108 |
| DI0211 |
| DI0212 |
| DI0505 |
| DI0806 |
| DI0907 |
| DI1113 |
| DI1212 |
| DI1504 |
| DI1505 |
| DI1601 |
| DI1602 |
| DI1603 |
| DI1604 |
| DI1605 |
| DI1606 |
| DI1607 |
| DI1608 |
| DI1609 |
| DI1610 |
| DI1611 |
| DI1612 |
| DI1613 |
| DI1614 |
| DI1615 |
| DI1616 |
| DI1617 |
| DI1618 |
| DI1701 |
| DI1702 |
| DI1703 |
| DI1704 |
| DI1705 |
| DI1706 |
| DI1707 |
| DI1708 |
| DI1801 |
| DI1802 |
| DI1803 |
| DI1804 |
| DI1901 |
| DI1902 |
| DI1903 |
| DI1904 |
| DI1905 |
| DI2601 |
| DI9901 |
| DI9902 |
| DI9903 |
| DI9904 |
| DI9905 |
| DI9906 |
| DI9907 |
| DI9908 |
| DI9909 |
| DI9910 |
| DI9911 |
| DI9912 |
| DI9913 |
Here is table1 and the calculated column
| Calculated Column |
|-----------------------------------------------------------|
| DI0501 DI1604 DI1605 |
| DI1604 DI1605 |
| DI1604 DI1605 |
| DI1605 |
| DI1604 DI1605 DI0105 |
| DI1604 DI1605 |
| DI0105 DI1604 DI1605 |
| DI1605 DI1604 |
| DI1604 DI1605 DI0105 DI1604 DI1604 DI1604 DI1604 DI1604 |
| DI1604 DI1605 |
| DI1605 |
| DI1604 DI1605 |
| DI1605 |
| DI1604 DI1605 DI0105 |
| DI0105 DI1604 DI1605 |
| DI1604 DI1605 |
| DI1010 DI1604 DI1605 DI0105 |
| DI1604 DI1605 DI0105 |
| DI1604 DI1605 DI1604 DI1604 DI1604 DI1604 DI1604 |
| DI1604 DI1605 |
| DI1604 DI1605 |
| DI1604 DI1605 DI0105 DI1604 DI1604 DI1604 DI1604 DI1604 |
| DI0204 |
| DI1015 DI0105 DI1604 DI1605 |
| DI1604 DI1605 DI0105 |
| DI1604 DI1605 DI0105 |
| DI1604 DI1605 DI0105 DI1604 DI1604 DI1604 DI1604 DI1604 |
| DI1102 DI1605 |
| DI1605 |
| DI1604 DI1604 DI1605 |
| DI1604 DI1605 DI1604 |
| DI1605 DI1604 DI1010 |
| DI0107 |
| DI0105 DI1604 DI1605 |
| DI1604 DI0204 |
| DI0105 DI1604 DI1605 |
| DI1605 |
| DI1604 DI1605 DI0105 DI1604 DI1604 DI1604 DI1604 DI1604 |
Example of a model in the link:
https://drive.google.com/drive/folders/1QVaPfMHkY_QQQmcUrBgTLNCDwmbuwq98?usp=sharing


