Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hey guys,
What is the equavalent of 'like' function of SQL in Power BI DAX.
My USER ID data item sometimes contains more/less than 8 digits, but I want to get just the list of the ones that have 8 digits.
Which function can help me with that?
Thanks,
Sona
Solved! Go to Solution.
@Anonymous , You can refer to these three
https://docs.microsoft.com/en-us/dax/containsstring-function-dax
https://docs.microsoft.com/en-us/dax/search-function-dax
https://docs.microsoft.com/en-us/dax/find-function-dax
For just 8 digits you can use len
https://docs.microsoft.com/en-us/dax/len-function-dax
@Anonymous , You can refer to these three
https://docs.microsoft.com/en-us/dax/containsstring-function-dax
https://docs.microsoft.com/en-us/dax/search-function-dax
https://docs.microsoft.com/en-us/dax/find-function-dax
For just 8 digits you can use len
https://docs.microsoft.com/en-us/dax/len-function-dax
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
84 | |
67 | |
60 |
User | Count |
---|---|
150 | |
120 | |
99 | |
87 | |
68 |