This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hello everyone.
Im the table attached I want to create a "Status" column where I want a switch function to group days outstanding into 4 categories.. 0-50 days, 51-75 days, 76-90 days, 91+ days. See below for example
| Invoice number | Days outstanding | Status |
| 20460 | 16 | 0-50 Days |
| 20459 | 25 | 0-50 Days |
| 20458 | 32 | |
| 20457 | 48 | |
| 20456 | 50 | |
| 20455 | 55 | 51-75 |
| 20454 | 58 | |
| 20453 | 59 | |
| 20452 | 70 | |
| 20451 | 75 | |
| 20450 | 77 | 76-90 Days |
| 20449 | 90 | 76-90 Days |
| 20448 | 92 | 91+ Days |
| 20447 | 99 | |
| 20446 | 99 | |
| 20445 | 105 |
Solved! Go to Solution.
Column = switch(TRUE(), Table1[Days outstanding] < 51, "0 - 50 Days",
Table1[Days outstanding] < 76, "51 - 75 Days",
Table1[Days outstanding] < 91, "76 - 90 Days", "91 + Days")Please test it because I just bashed it out without doing so
Column = switch(TRUE(), Table1[Days outstanding] < 51, "0 - 50 Days",
Table1[Days outstanding] < 76, "51 - 75 Days",
Table1[Days outstanding] < 91, "76 - 90 Days", "91 + Days")Please test it because I just bashed it out without doing so
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 31 | |
| 26 | |
| 23 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 62 | |
| 47 | |
| 28 | |
| 24 | |
| 21 |