Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Okay Guys, I have read about 50 posts on this topic and have tried to get a variety of formulas to work, but have been unable to make it work. I am trying to determine the days between open and close of a service ticket excluding weekends. Essentially days to resolution.
Objective: Ticket opened - Ticket Closed & filter out weekends (we can worry about Holidays later).
I can get this to give me output on days between calls:
I have created a date table and created the following switch:
is work day = SWITCH(WEEKDAY([Date]),1,0,7,0,1)
Solved! Go to Solution.
Hi @PowerBInewb,
Try to use the following calculated column:
WorkingDays = Tickets[CloseDate] - Tickets[OpenDate] - SUMX( FILTER(DimDate; DimDate[Date] > Tickets[OpenDate] && DimDate[Date] < Tickets[CloseDate]); IF(WEEKDAY(DimDate[Date]) = 1 || WEEKDAY(DimDate[Date]) = 7; 1; 0) ) + 1
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsCovering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
111 | |
92 | |
84 | |
66 |