best response confirmed by Rashid Mohammed (Contributor)
Solution

These are different tools, with Query you use M language and with model DAX. Check query function here https://msdn.microsoft.com/en-us/library/mt253480.aspx .