This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
I hvae this as my DAX formula and it is working to bring back all the events completed.
How do I add to the formula to sum by Region?
Solved! Go to Solution.
Hi @brockry1 ,
Can't determine what your data structure looks like, here's a sample of data created from your description.
Event & Task
| ID | Status (Consolidated) | Key |
| 1001 | Completed | 1 |
| 1002 | Incompleted | 1 |
| 1001 | Completed | 1 |
| 1002 | Completed | 2 |
| 1003 | Completed | 2 |
| 1004 | Completed | 2 |
| 1005 | Completed | 3 |
| 1006 | Completed | 4 |
| 1006 | Incompleted | 4 |
| 1006 | Incompleted | 4 |
Account
| Region | Key |
| A | 1 |
| B | 2 |
| C | 3 |
| D | 4 |
Make sure there is a relationship between the two tables
Create a measure
EventCount =
CALCULATE(
DISTINCTCOUNT('Event & Task'[ID]),
FILTER(
ALLEXCEPT(
'Event & Task',
Account[Key]
),
'Event & Task'[Status (Consolidated)] = "Completed"
)
)
Final output
Best regards,
Albert He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @brockry1 ,
Can't determine what your data structure looks like, here's a sample of data created from your description.
Event & Task
| ID | Status (Consolidated) | Key |
| 1001 | Completed | 1 |
| 1002 | Incompleted | 1 |
| 1001 | Completed | 1 |
| 1002 | Completed | 2 |
| 1003 | Completed | 2 |
| 1004 | Completed | 2 |
| 1005 | Completed | 3 |
| 1006 | Completed | 4 |
| 1006 | Incompleted | 4 |
| 1006 | Incompleted | 4 |
Account
| Region | Key |
| A | 1 |
| B | 2 |
| C | 3 |
| D | 4 |
Make sure there is a relationship between the two tables
Create a measure
EventCount =
CALCULATE(
DISTINCTCOUNT('Event & Task'[ID]),
FILTER(
ALLEXCEPT(
'Event & Task',
Account[Key]
),
'Event & Task'[Status (Consolidated)] = "Completed"
)
)
Final output
Best regards,
Albert He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
CALCULATE(
DISTINCTCOUNT('Event & Task'[ID]),
'Event & Task'[Status (Consolidated)]="Completed",
'Account'[Region Manager] = "xxx")
Does this work for your question?
I did not 100% understand your question. but one way to calculate the #Event completed by region manager xxxxx might be = CALCULATE(
DISTINCTCOUNT('Event & Task'[ID]),
'Event & Task'[Status (Consolidated)]="Completed",
'Account'[Regino Manger] = "xxxxx"),
Depending on you, you may consider to add KEEPFILTER on the filter expression.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 |