I have three different tables. I want to select different columns from each of the tables and create one table based on some filters. Have a look at the following dax expression:
FILTER(DISTINCT(SELECTCOLUMNS(Test_Table,"site_key",[site_key],"is_active",[is_active])),[is_active]=TRUE&&[dbsource]=="DB2")
As you can see, I've selected olumns from Test_Table. Firstl, How can I add columns from the other two tables? Secondly, Please note that these tables are related so I've created a relationship between them based on relevant IDs. Will I have to create a natural join in DAX as well?
Test_Table
. – Alexis Olson