Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello guys,
If I have the following case:
If I have the following case:
How can I make a measure that shows in a table or card the "Department" that could solve more "Incidents"?
Table 1
Users | Department |
Luis | 1 |
Sandra | 2 |
Miguel | 3 |
Ana | 4 |
Table 2
Users | Incidents |
Ana | Resolved |
Sandra | In Progress |
Ana | In Progress |
Miguel | Resolved |
Luis | Resolved |
Ana | In Progress |
Ana | Resolved |
Ana | Resolved |
Sandra | Resolved |
Thanks in advance
Solved! Go to Solution.
Hi @Estebanco ,
The basic measure would be something like this:
_noofIncidentsResolved =
CALCULATE(
COUNTROWS(Table2),
Table2[Incidents] = "Resolved"
)
To calculate this by department, you will need to relate Table1 to Table2 on [Users], then put Table1[Department] and [_noofIncidentsResolved] into a visual together.
Pete
Proud to be a Datanaut!
Hi @Estebanco ,
The basic measure would be something like this:
_noofIncidentsResolved =
CALCULATE(
COUNTROWS(Table2),
Table2[Incidents] = "Resolved"
)
To calculate this by department, you will need to relate Table1 to Table2 on [Users], then put Table1[Department] and [_noofIncidentsResolved] into a visual together.
Pete
Proud to be a Datanaut!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.