Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
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
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
26 | |
20 | |
18 | |
14 | |
13 |
User | Count |
---|---|
43 | |
36 | |
23 | |
22 | |
21 |