Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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?
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
8 | |
7 |