Forum Discussion
Anonymous
5 years agoNot applicable
If contains then yes
Hi all, I have a visual (table) with columns from different linked data tables in the background in my PBI file. Now I want to create a DAX that would be like this: Look in the "Warehouse"[Li...
- 5 years ago
Hi Anonymous
You can try to create a calculate column using CONTAINSSTRINGEXACT or FIND function
If contains then yes (CONTAINSSTRINGEXACT) = IF ( CONTAINSSTRINGEXACT ( 'Table'[Aisle_list], 'Table'[Aisle] ), "Yes", "No" )Or
If contains then yes (Find) = IF ( ISBLANK ( FIND ( 'Table'[Aisle], 'Table'[Aisle_list], 1, BLANK () ) ), "No", "Yes" )Sample data:
Result:
Is this the result you want? Hope this is useful to you
Please feel free to let me know if I misunderstand your question
Best Regards,
Community Support Team _ Zeon ZhengIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
5 years agoNot applicable
Hi J
don´t work. Get an error.
Please see my screenshot. If Aisle information is in Aisle_list then yes, if not no.
CK is in CD,CE...CJ,CK... = yes
CK is in FB = no
With Containsstring i can not find the columne in the measure.
BR
Mary
tex628
Community Champion
5 years agoDont create a measure, create a calculated column in the table.
/ J