Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
HI together,
I have a problem that has been making me despair for days.
Actual description:
Currently there are two tables. The first table contains all incidents with the attributes ID, ActualStart, ActualFinish. This table is with the Date table where all dates are located. Both tables are connected by Date and Actual Start.
Two KPI are needed:
One is to count how many tickets were opened in the month, which turns out to be pretty simple.
DAX: Created_Tickets = COUNTROWS(RELATEDTABLE(Security_Incidents_Created))
The second number is a bit harder to calculate and makes me despair.
Due to the fact that the connection between ActualStart and Date was drawn, I can't manage to count the rows where Closed Month is equal to Date.
Keyword: Countrows to an unrelated table.
The attempt to solve this with a variable failed.
Closed_Ticket = var cont = FIRSTNONBLANK('Security_Incidents_Created'[Closed Month],1) return COUNTROWS(FILTER('Date','Date'[Date]=cont))
In addition, tickets can still be open if Closed Month is empty.
Could somebody please help?
Solved! Go to Solution.
@Anonymous , Seem like very similar to my HR blog topic
@Anonymous , Seem like very similar to my HR blog topic
User | Count |
---|---|
12 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
24 | |
19 | |
14 | |
10 | |
7 |