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.
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
Covering 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 |
---|---|
117 | |
105 | |
69 | |
67 | |
43 |
User | Count |
---|---|
151 | |
103 | |
102 | |
87 | |
63 |