Marco Russo's Blog

   View full profile
Page 35 of 715 results

Use parameters in your #DAX queries

The DAX query syntax allows you to insert a parameter by using the @ symbol. EVALUATE CALCULATETABLE ( ‘Product Subcategory’ , ‘Product Category’ [Product Category Name] = @Category ) Depending on the client and on the driver you are using to execute  Read more

Analyze #DAX query plan with Profiler

Jeffrey Wang started the 2012 (or finished the 2011, depending on your time zone) by publishing the first article dedicated to DAX Query plan . While I look forward to reading next articles, it is interesting the explanation of what is the relationship  Read more

String Comparison in #DAX

In DAX you don’t have the LIKE operator and you have to use SEARCH instead. However, performance are not very good and it is better to use LEFT and RIGHT if you just need to compare the initial (or ending) match of a string. I just wrote an article about  Read more

Query Projection in #DAX

I wrote a short article about query projection in DAX. To make the story short, you should always use SUMMARIZE in order to remove columns from a table in a query. Thus, if you just want three columns from a table, instead of writing this in SQL: SELECT  Read more