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. I am relatively new to Power BI.
I am working on cleaning the data below and would like the Airline and Onwards Return Flight Time format to be something like this:
| Airline | Onwards Return Flight Time |
| IndiGo | 14:00-16:05 |
| Spicejet | 15:45-17:45 |
| IndiGo | 10:50-13:00 |
| IndiGo | 06:30-09:10 |
| IndiGo | 12:45-14:20 |
From this
Any ideas?
Thanks.
You can use remove duplicates, if you dont need them.
Did I answer your question? Mark my post as a solution!
Hi @Lukky123
You can first split on I on Arline and onward return flight time.
Once you get all the columns you can unpivot data to get the desired format.
I just tried that. It produced some duplicates.
This
Instead of this
| Airline | Onwards Return Flight Time |
| IndiGo | 14:00-16:05 |
| Spicejet | 15:45-17:45 |
| IndiGo | 10:50-13:00 |
| IndiGo | 06:30-09:10 |
| IndiGo | 12:45-14:20 |
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 | |
| 49 | |
| 39 | |
| 25 | |
| 23 |
| User | Count |
|---|---|
| 142 | |
| 111 | |
| 65 | |
| 38 | |
| 33 |