Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Anyone knows how to deal with this?
Here's my original dataset (2 rows):
| id | title |
abc 123 | t1
|
| abc124 | t2 |
I run below python scripts in Power Query:
# 'dataset' holds the input data for this script
import pandas as pd
data = pd.DataFrame(dataset)
And it breaks my dataset into below tables (3 rows):
| id | title |
abc | t1 |
| 123 | |
| abc124 | t2 |
I cannot modify the ['id'] column in the raw datasource, how can I fix this error?
I tried to run the same script in Jupyter notebook, and the code doesn't break the row as it did in Power BI.
Thanks in advance.
Hi @kkkttt ,
I am curious if my reply above could meet your requirements.
If it could, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.
If not, please let me know.
Best Regards,
Icey
Hi @kkkttt ,
Based on your requirements, just try this easier method:
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.