This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Here is a table
| Incident_ID | Triggers | Status |
| 7545714 | 41 | Red |
| 7545714 | 41 | Green |
| 7545883 | 16 | Purple |
| 7549800 | 15 | Red |
| 7549800 | 15 | Green |
| 7549800 | 15 | Orange |
Given, there will alway be same number of triggers for a particular ID. But I don't want to count those triggers multiple times.
I tried the following DAX. My expected answer is 72, but I get 143 instead. How to fix?
Distinct_Matches:=CALCULATE(sum(Incidents[Triggers]),DISTINCT(Incidents[Incident_ID]))
Solved! Go to Solution.
If you are sure that Triggers and Incident_ID have a 1:1 relatioship, you could use this:
Distinct_Matches :=
SUMX (
SUMMARIZE ( Incidents, Incidents[Incident_ID], Incidents[Triggers] ),
Incidents[Triggers]
)
If you are sure that Triggers and Incident_ID have a 1:1 relatioship, you could use this:
Distinct_Matches :=
SUMX (
SUMMARIZE ( Incidents, Incidents[Incident_ID], Incidents[Triggers] ),
Incidents[Triggers]
)
Check out the May 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 |
|---|---|
| 30 | |
| 28 | |
| 23 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 48 | |
| 46 | |
| 41 | |
| 21 | |
| 18 |