Forum Discussion
Anonymous
7 years agoNot applicable
Search logic
DEDF or GENERAL = IF( SEARCH("DTL",Query1[HAULIER]),"Dedicated","General")
Is there a reason why im getting the error. Is it because im trying to search something that contains "DTL" rather than is exactly "DTL", i.e some are DTLB, DTLD etc etc.
- Anonymous7 years ago
Hi Anonymous
Write your DAX in this way
DEDF or GENERAL = IF(SEARCH("DTL",Query1[HAULIER],1,FALSE()),"Dedicated","General")
1 Reply
- AnonymousNot applicable
Hi Anonymous
Write your DAX in this way
DEDF or GENERAL = IF(SEARCH("DTL",Query1[HAULIER],1,FALSE()),"Dedicated","General")