Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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] )
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
66 | |
54 | |
47 | |
36 | |
34 |
User | Count |
---|---|
84 | |
70 | |
58 | |
45 | |
44 |