Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
Hi there,
I have 3 tables in an extended data model, which I am trying to use DAX to calculate something and I am struggling to figure it out...
Table 1 - User Groups
Table 2 - ServiceNow Problem
Table 3 - ServiceNow Problem Tasks
I am trying to calculate the number of Tasks that do not have an assignee of the Problems that are owned by a usergroup. I can do this via a calculated column using the following:-
The following DAX can be used if I include the Problem Record in the table and reference it via SelectedValue:-
You could do something like
Num unassigned =
VAR Problems =
VALUES ( 'sn_problem_fact'[problem ID] )
VAR Tasks =
VALUES ( 'sn_task_fact'[problem ID] )
VAR Result =
COUNTROWS ( EXCEPT ( Problems, Tasks ) )
RETURN
Result