Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello,
I am new to Dax and trying to figure out how to:
Table 1 is Incident
Table 2 is SLA
I need to compare the incident number and task number from both tables, if they are equal & the state column in the incident table is set to resolved or closed.
I need to then count the has breached column in the SLA table, if the value is false, provided the SLA definition has the word resolution in it, and the stage column in the SLA table is not set to pause or cancelled.
The closed resolution SLA is either
Desk P1 resolution
Desk P2 resolution
Desk P3 resolution
Desk P4 resolution
I am trying to count how many have breached or not breached.
Thanks for helping with this.
The below links are to a sample excel file and pbix file
https://www.dropbox.com/s/ix4rog3gdplt9ad/sampledata.pbix?dl=0
Thank you for providing the sample data. For the first task you can count the rows of any column. Here I used the Task column but that is totally arbitrary. Make sure not to select "Count (Distinct)".
For the next steps you may want to reformulate the question. "compare" how?
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 9 | |
| 7 | |
| 6 | |
| 6 | |
| 5 |
| User | Count |
|---|---|
| 24 | |
| 21 | |
| 18 | |
| 14 | |
| 14 |