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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hello Folks ,
Here i wanted to assign numbers like 1, 2, 3 to a text column (>9 AM, >12 PM,>15 PM). For this I want to use Switch function to assign numbers. But it is not working. Please Help.
| >9 AM | 1 |
| >12 AM | 2 |
| >15 AM | 3 |
@Anonymous What does your Time Group column look like? You might be able to use the TIME function but I won't know until I see your Time Group column. It seems like it is a number of some kind.
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 47 | |
| 39 | |
| 23 | |
| 23 |
| User | Count |
|---|---|
| 144 | |
| 106 | |
| 63 | |
| 38 | |
| 31 |