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! Get ahead of the game and start preparing now! Learn more
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! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |