Report Portal

Using TREATAS in place of IN in DAX

During a conversation at PASS Summit, one of the developers of Power BI shown me a way to use TREATAS in place of IN in DAX. I am not sure it increases readability of the code, but let’s examine pros and cons.
Spoiler: you should continue to use IN for simple filters!

The following syntax generates a table with two brands.

Read more...

 

Tags: dax, tabular

 

2007-2015 VidasSoft Systems Inc.