Forum Discussion
Anonymous
6 years agoNot applicable
Excluding a value from condition
I am trying to filter out records where the column Device_Name contains = "ESX" or "Appliance". I have this query: IF(NOT(CONTAINS(TableName,Device_Name,"ESX||"Appliance"))) The problem is th...
- 6 years ago
Hi,
According to your description, i advise using LEFT function.
I create a simple sample to test:
Then create a column to extract specified string like 'esx' or 'Appliance':
Column = IF(LEFT('Table'[Device_Name],3)="esx"||LEFT('Table'[Device_Name],9)="Appliance",1,0)Apply a filter about this column to the visual, the result shows:
Hope this helps.
Best Regards,
Giotto Zhi
v-gizhi-msft
6 years agoCommunity Support
Hi,
According to your description, i advise using LEFT function.
I create a simple sample to test:
Then create a column to extract specified string like 'esx' or 'Appliance':
Column = IF(LEFT('Table'[Device_Name],3)="esx"||LEFT('Table'[Device_Name],9)="Appliance",1,0)
Apply a filter about this column to the visual, the result shows:
Hope this helps.
Best Regards,
Giotto Zhi