Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

SLA Calculation based on multiple criteria

 

I really need help in finding the best approach to come to a solution to calculate the DATE DIFF days for each line/ #ref. 

Calculate average of Date Diff days between the follwoing two dates.

Table:

t_Data

Fields: 

- Date_Requested

- Date_Presented

- #ref_date

 

Criteria to consider:

- If selected Date_Presented is < beginning of the quarter in which #ref selected is, do not consider 

- If selected Date_Requested is > selected month in which #ref selected is, do not consider

- If (Date_Requested > (end of the month - 21 days) & (Date_Presented > End of the month)) , do not consider

 

Data Sample:

https://we.tl/t-0KAMMjURHq

 

Thank you guys. 

21 REPLIES 21

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.