Hi,
I am calculating IPD. To calculate IPD, I need number of working days.
1) I have a date field "Date" (when the ticket came in)
2) I have a triad field(tell us whether the ticket is an enrollment or App Deployment etc..)
3) Ticket number, title ,CreatedIsWorkingday, etc..etc..
The problem I am having is:
I have created a measure: Measure = CALCULATE(DISTINCTCOUNT(Query2[Date]),'Query2'[CreatedIsWorkingday] ="Yes")
and calculated IPD measure: IPD = DIVIDE(COUNTA(Query2[Ticket Number]),Query2[Measure],0)
These 2 measure is helping me to get the IPD
when I break this by Triad: Consider april 2017: IPD is 101.86. But after giving a column series "Triad". When I sum up, I dont get the same count as allup.
The reason behind is
Measure = CALCULATE(DISTINCTCOUNT(Query2[Date]),'Query2'[CreatedIsWorkingday] ="Yes")
this above measure is calcualting only if the date is available. Let's suppose if we dont have any ticket on april 11th(Date) then it is not considering as a working day.
inBrief:
This is how I want (7 Working days)
but after breakdown: This is what I am getting. I dont have a ticket on 11th for triad "Enrollment"(Traid as a slicer) . so it is not giving me total working days.
How can we fix this? Can anyone suggest a best way to resolve this issue.