Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
hi I want to ask, so I have data like this rental start and rental end, I want the output in the SLA column if today's date is close to the rental end date then the output will be "near overdue", if today's date has reached the rental end then the output will be "overdue" but if today's date has passed from the rental end date maybe about a month then the output will be "flag overdue"
Solved! Go to Solution.
please try;
SLA =
SWITCH(
TRUE(),
TODAY() >= [Rental End], "Overdue",
TODAY() >= DATE([Rental End], -30), "Flag Overdue",
TODAY() >= [Rental End] - 7, "Near Overdue",
"Valid"
)
please try;
SLA =
SWITCH(
TRUE(),
TODAY() >= [Rental End], "Overdue",
TODAY() >= DATE([Rental End], -30), "Flag Overdue",
TODAY() >= [Rental End] - 7, "Near Overdue",
"Valid"
)
thank you, I'll try this one
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 12 | |
| 12 | |
| 10 | |
| 6 | |
| 5 |