The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
i'm doing it worng =/
I have to do a SQL query in DAX
(text not like '%ORD 9%' and text not like '%ORD 6%' and text not like '%Reclassificação%' and text not like '%TRANSITORIA%' and(text <> '' or text_cab like '%tarifa%'))
Gratz!
Solved! Go to Solution.
SEARCH("ORD 9", Table[Text], 1, -1) < 0 && SEARCH("ORD 6", Table[Text], 1, -1) < 0 && SEARCH("Reclassificação", Table[Text], 1, -1) < 0 && SEARCH("TRANSITORIA", Table[Text], 1, -1) < 0 && (Table[Text] <> "" || SEARCH("tarifa", Table[Text_Cab], 1, -1) > 0)
CONTAINS function in DAX is for searching a table for a presence of a row when certain search-columns contain the specified values. Think of this as a special version of excel's VLookup function that returns a boolean true or false value, when there is such a row.
You should be using SEARCH or FIND function in DAX for performing text contains check. SEARCH is case-insensitive and FIND is case-sensitive.
Can You Show me?
I'm a newbie in PBI.
Gratz!
SEARCH("ORD 9", Table[Text], 1, -1) < 0 && SEARCH("ORD 6", Table[Text], 1, -1) < 0 && SEARCH("Reclassificação", Table[Text], 1, -1) < 0 && SEARCH("TRANSITORIA", Table[Text], 1, -1) < 0 && (Table[Text] <> "" || SEARCH("tarifa", Table[Text_Cab], 1, -1) > 0)
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
77 | |
70 | |
48 | |
41 |
User | Count |
---|---|
139 | |
112 | |
72 | |
64 | |
62 |