Forum Discussion
PowerBI123456
Post Partisan
5 years agoDAX Starts with
Hi - I want to see if a column starts with a specific line of strings (e.g. "992"). How can I do that in DAX (not power query)?
Thanks in advance!
6 Replies
- MFelix
Super User
- amitchandak
Super User
PowerBI123456 , Try a new column like
if(left([col1],3) = "992",1,0)
or measure
calculate(countrows(Table),filter(Table,left([col1],3) = "992",1,0))