Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hi Kind People,
Need your help.
I'm having a hard time as well in getting the SLA if Within and if Out of SLA.
Requirement:
1. if TAT is equal or less than SLA, should be Tagged as "Within SLA"
2. if TAT is not equal or greater than SLA, should be tagged as "Out of SLA" and if TAT is Blank, should be tagged as well as "Out of SLA"
Solved! Go to Solution.
Hi @Anonymous
Please try:
Within or Out =
var _a = HOUR([TAT])+MINUTE([TAT])/60+SECOND([TAT])/3600
return IF(OR(ISBLANK([TAT]),_a>[SLA]),"Out of SLA","Within SLA")
Final output:
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous
Please try:
Within or Out =
var _a = HOUR([TAT])+MINUTE([TAT])/60+SECOND([TAT])/3600
return IF(OR(ISBLANK([TAT]),_a>[SLA]),"Out of SLA","Within SLA")
Final output:
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
90 | |
82 | |
57 | |
41 | |
39 |