Forum Discussion
OPS-MLTSD
Post Patron
4 years agoDAX equivalent to %LIKE% in sql - to count IDs
Hello, I am trying to do a simple count in Power BI using dax. In sql, I would simply use this function to pull my data: Select count (distinct Client_ID) Client_ID from table Where st...
hnguy71
Super User
4 years agoSEARCH("University",clients[School],1,0) > 0- OPS-MLTSD4 years ago
Post Patron
thank you, I was able to get this part to work:
University Students =CALCULATE(COUNT(clients[CLIENT_ID]),SEARCH("University",clients[School],1,0) > 0)But I could not add the date part, do you know how I can get this part to work in this dax? clients[start_date]>= '2021-03-16'. I only want results for clients from March 16 2021 and onwards, if you coul please let me know, I would really appreciate that. Thank you