EVALUATE
FILTER
(
SUMMARIZE (
NATURALLEFTOUTERJOIN (
'Target',
'Target_Category',
--'Target_Form'
),
'Target'[Area],
'Target'[id],
'Target'[Target date],
'Target'[Target Time Range],
'Target_Category'[Origin],
'Target_Category'[Sectotion],
'Target'[Location],
'Target_Category'[Ethencity],
'Target_FormResponse'[Area Used],
'Target'[Description]
),
'Target'[id] = Value("111373268")
)
ORDEr BY 'Target'[Target Key]
I'm trying to query an SSAS tabular cube.
I have the above sample DAX code, in the NATURALLEFTOUTERJOIN function i'm joining tables 'Incident' and 'Incident_Category' such that i can be able to get columns from both tables.
However, i also need to get columns from a third table 'Target_Form' in the same DAX Query but when i try to add the third table in the NATURALLEFTOUTERJOIN function, i get the below error.
Too many arguments were passed to the NATURALLEFTOUTERJOIN function. The maximum argument count for the function is 2.
Does any any one know how i can join more than two tables that have a relationship such that i can work with columns in three or more tables in the same query?